diff options
author | PaulK <contact@paulk.fr> | 2012-05-06 16:23:25 +0200 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2012-05-06 16:24:01 +0200 |
commit | b2a5b14fcdf4b75951a991add9f1f13dc1aca297 (patch) | |
tree | f3ffc918a114dc9ce1070857806f45633ca6d381 | |
parent | 39c22bc3b3114a4cb283673075d5000a3836edf4 (diff) | |
download | device_goldelico_gta04-b2a5b14fcdf4b75951a991add9f1f13dc1aca297.zip device_goldelico_gta04-b2a5b14fcdf4b75951a991add9f1f13dc1aca297.tar.gz device_goldelico_gta04-b2a5b14fcdf4b75951a991add9f1f13dc1aca297.tar.bz2 |
Added tinyalsa-audio.xml config file (speaker-only for now)
Signed-off-by: PaulK <contact@paulk.fr>
-rw-r--r-- | gta04.mk | 5 | ||||
-rw-r--r-- | tinyalsa-audio.xml | 26 |
2 files changed, 30 insertions, 1 deletions
@@ -24,9 +24,12 @@ PRODUCT_PACKAGES += \ libaudio \ libaudiopolicy +PRODUCT_COPY_FILES += \ + device/goldelico/gta04/tinyalsa-audio.xml:system/etc/tinyalsa-audio.xml + # APNS PRODUCT_COPY_FILES += \ - vendor/replicant/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml + vendor/replicant/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml # Dalvik PRODUCT_PROPERTY_OVERRIDES += \ diff --git a/tinyalsa-audio.xml b/tinyalsa-audio.xml new file mode 100644 index 0000000..d6d0ea8 --- /dev/null +++ b/tinyalsa-audio.xml @@ -0,0 +1,26 @@ +<tinyalsa-audio device="GTA04"> + <device type="init"> + <path name="enable"> + <ctl name="DAC1 Digital Fine Playback Volume" value="60" /> + <ctl name="DAC2 Digital Fine Playback Volume" value="60" /> + <ctl name="DAC1 Digital Coarse Playback Volume" value="0" /> + <ctl name="DAC2 Digital Coarse Playback Volume" value="0" /> + + <ctl name="DAC1 Analog Playback Volume" value="16" /> + <ctl name="DAC2 Analog Playback Volume" value="16" /> + </path> + </device> + <device type="output" name="speaker"> + <path name="enable"> + <ctl name="HandsfreeL Mux" value="AudioL2" /> + <ctl name="HandsfreeR Mux" value="AudioR2" /> + <ctl name="HandsfreeL Switch" value="on" /> + <ctl name="HandsfreeR Switch" value="on" /> + </path> + <path name="disable"> + <ctl name="HandsfreeL Switch" value="off" /> + <ctl name="HandsfreeR Switch" value="off" /> + </path> + </device> +</tinyalsa-audio> + |