diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-08-19 23:37:05 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-08-20 13:27:51 +0200 |
commit | a77d04ddb7e4456efaa3a642c2a8e63532a9a86f (patch) | |
tree | 511acca37be37afed1c5c46939cd553d980cfaa1 /configs | |
parent | 3f87074946f7d3e7cf2e26f68d840514f9c7ebc5 (diff) | |
download | device_samsung_n7000-a77d04ddb7e4456efaa3a642c2a8e63532a9a86f.zip device_samsung_n7000-a77d04ddb7e4456efaa3a642c2a8e63532a9a86f.tar.gz device_samsung_n7000-a77d04ddb7e4456efaa3a642c2a8e63532a9a86f.tar.bz2 |
Use TinyaALSA-Audio and Galaxy Note-specific configuration
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/tinyalsa-audio.xml | 170 |
1 files changed, 170 insertions, 0 deletions
diff --git a/configs/tinyalsa-audio.xml b/configs/tinyalsa-audio.xml new file mode 100644 index 0000000..b42bf1c --- /dev/null +++ b/configs/tinyalsa-audio.xml @@ -0,0 +1,170 @@ +<tinyalsa-audio device="Galaxy Note"> + <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> |