3
0
replicant-device_samsung_ga.../configs/tinyalsa-audio.xml

171 lines
5.8 KiB
XML
Raw Normal View History

<tinyalsa-audio device="Galaxy S2">
<output card="0" device="0"
rate="44100" channels="2" format="PCM_16"
period_size="1024" period_count="4">
<device type="default">
<path type="enable">
<ctrl name="AD Digital Volume" value="75" />
<ctrl name="AD Digital Switch" value="on" />
<ctrl name="AENG6 Volume" value="75" />
<ctrl name="AENG6 Switch" value="on" />
<ctrl name="DIR#0 Volume" value="75" />
<ctrl name="DIR#0 Switch" value="on" />
<ctrl name="DIR#1 Volume" value="75" />
<ctrl name="DIR#1 Switch" value="on" />
<ctrl name="DIR#2 Volume" value="75" />
<ctrl name="DIR#2 Switch" value="on" />
<ctrl name="DIR#0 ATT Volume" value="75" />
<ctrl name="DIR#0 ATT Switch" value="on" />
<ctrl name="DIR#1 ATT Volume" value="75" />
<ctrl name="DIR#1 ATT Switch" value="on" />
<ctrl name="DIR#2 ATT Volume" value="75" />
<ctrl name="DIR#2 ATT Switch" value="on" />
<ctrl name="Master Playback Volume" value="75" />
<ctrl name="Master Playback Switch" value="on" />
<ctrl name="DAC Playback Volume" value="75" />
<ctrl name="DAC Playback Switch" value="on" />
<ctrl name="DIT#0 Capture Volume" value="75" />
<ctrl name="DIT#0 Capture Switch" value="on" />
<ctrl name="DIT#1 Capture Volume" value="75" />
<ctrl name="DIT#1 Capture Switch" value="on" />
<ctrl name="DIT#2 Capture Volume" value="75" />
<ctrl name="DIT#2 Capture Switch" value="on" />
<ctrl name="AD Analog Volume" value="19" />
<ctrl name="AD Analog Switch" value="on" />
</path>
</device>
<device type="earpiece">
<path type="enable">
<ctrl name="Receiver Playback Volume" value="31" />
<ctrl name="Receiver Playback Switch" value="on" />
</path>
<path type="disable">
<ctrl name="Receiver Playback Volume" value="0" />
<ctrl name="Receiver Playback Switch" value="off" />
</path>
</device>
<device type="speaker">
<path type="enable">
<ctrl name="Speaker Playback Volume" value="26" />
<ctrl name="Speaker Playback Switch" value="on" />
</path>
<path type="disable">
<ctrl name="Speaker Playback Volume" value="0" />
<ctrl name="Speaker Playback Switch" value="off" />
</path>
</device>
<device type="wired-headphone">
<path type="enable">
<ctrl name="Headphone Playback Volume" value="15" />
<ctrl name="Headphone Playback Switch" value="on" />
</path>
<path type="disable">
<ctrl name="Headphone Playback Volume" value="0" />
<ctrl name="Headphone Playback Switch" value="off" />
</path>
</device>
<device type="wired-headset">
<path type="enable">
<ctrl name="Headphone Playback Volume" value="15" />
<ctrl name="Headphone Playback Switch" value="on" />
</path>
<path type="disable">
<ctrl name="Headphone Playback Volume" value="0" />
<ctrl name="Headphone Playback Switch" value="off" />
</path>
</device>
</output>
<input card="0" device="0"
rate="44100" channels="2" format="PCM_16"
period_size="1024" period_count="4">
<device type="builtin-mic">
<path type="enable">
<ctrl name="AD Analog Volume" value="26" />
<ctrl name="Mic 1 Gain Volume" value="2" />
</path>
<path type="disable">
<ctrl name="AD Analog Volume" value="19" />
<ctrl name="Mic 1 Gain Volume" value="0" />
</path>
</device>
<device type="wired-headset">
<path type="enable">
<ctrl name="AD Analog Volume" value="26" />
<ctrl name="Mic 2 Gain Volume" value="2" />
</path>
<path type="disable">
<ctrl name="AD Analog Volume" value="19" />
<ctrl name="Mic 2 Gain Volume" value="0" />
</path>
</device>
</input>
<modem card="0" device="0">
<device type="earpiece">
<path type="enable">
<ctrl name="AD Digital Volume" value="84" />
<ctrl name="DIR#1 Volume" value="80" />
<ctrl name="Master Playback Volume" value="76" />
<ctrl name="AD Analog Volume" value="22" />
</path>
<path type="disable">
<ctrl name="AD Digital Volume" value="75" />
<ctrl name="DIR#1 Volume" value="75" />
<ctrl name="Master Playback Volume" value="75" />
<ctrl name="AD Analog Volume" value="19" />
</path>
</device>
<device type="speaker">
<path type="enable">
<ctrl name="AD Digital Volume" value="80" />
<ctrl name="Speaker Playback Volume" value="31" />
<!-- <ctrl name="Mic 3 Gain Volume" value="3" /> -->
</path>
<path type="disable">
<ctrl name="AD Digital Volume" value="75" />
<ctrl name="Speaker Playback Volume" value="26" />
<!-- <ctrl name="Mic 3 Gain Volume" value="0" /> -->
</path>
</device>
<device type="wired-headphone">
<path type="enable">
<ctrl name="AD Digital Volume" value="84" />
<ctrl name="Master Playback Volume" value="69" />
<ctrl name="AD Analog Volume" value="22" />
<ctrl name="Headphone Playback Volume" value="31" />
</path>
<path type="disable">
<ctrl name="AD Digital Volume" value="75" />
<ctrl name="Master Playback Volume" value="75" />
<ctrl name="AD Analog Volume" value="19" />
<ctrl name="Headphone Playback Volume" value="15" />
</path>
</device>
<device type="wired-headset">
<path type="enable">
<ctrl name="Master Playback Volume" value="69" />
<ctrl name="AD Analog Volume" value="26" />
<ctrl name="Headphone Playback Volume" value="31" />
<ctrl name="Mic 2 Gain Volume" value="2" />
</path>
<path type="disable">
<ctrl name="Master Playback Volume" value="75" />
<ctrl name="AD Analog Volume" value="19" />
<ctrl name="Headphone Playback Volume" value="15" />
<ctrl name="Mic 2 Gain Volume" value="0" />
</path>
</device>
<device type="bt-sco-headset">
<path type="enable">
<ctrl name="DIR#2 Volume" value="81" />
</path>
<path type="disable">
<ctrl name="DIR#2 Volume" value="75" />
</path>
</device>
</modem>
</tinyalsa-audio>