aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorc457 <android.c357@gmail.com>2017-02-09 13:52:38 -0600
committerc457 <android.c357@gmail.com>2017-02-09 13:52:38 -0600
commit9e86eb92fbf6dafb70e50e758268bcefa6113980 (patch)
tree6cdbf2989034fd0708533cb1f3ff1dd292236d43
parent92bdefe93ab6b23b1eb99ff0ad0fc91324f24de3 (diff)
axon7: Enable Hi-Fi headphone audio
* Set the acdb_id, alias, and backend Change-Id: Ib691eaedfd3c0522f3ab79a5f4804712e01b33ef
-rwxr-xr-xaudio/audio_platform_info.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/audio/audio_platform_info.xml b/audio/audio_platform_info.xml
index 4122333..16bd767 100755
--- a/audio/audio_platform_info.xml
+++ b/audio/audio_platform_info.xml
@@ -28,12 +28,22 @@
<acdb_ids>
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="207"/>
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="124"/>
+ <device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="207"/>
</acdb_ids>
<bit_width_configs>
<device name="SND_DEVICE_OUT_SPEAKER" bit_width="24"/>
</bit_width_configs>
+
+ <device_names>
+ <device name="SND_DEVICE_OUT_HEADPHONES" alias="headphones-hi-fi"/>
+ </device_names>
+
+ <backend_names>
+ <device name="SND_DEVICE_OUT_HEADPHONES" backend="headphones-hi-fi"/>
+ </backend_names>
+
<config_params>
- <!-- In the below value string, first parameter indicates size -->
+ <!-- In the below value string, first parameter indicates size -->
<!-- followed by perf lock options -->
<param key="perf_lock_opts" value="2, 0x101, 0x20F"/>
</config_params>