forked from bbelos/android_device_lenovo_x103f
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaudio_platform_info.xml
120 lines (119 loc) · 8 KB
/
audio_platform_info.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2015, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<audio_platform_info>
<interface_names>
<device name="AUDIO_DEVICE_IN_BUILTIN_MIC" interface="QUATERNARY_MI2S" codec_type="external"/>
<device name="AUDIO_DEVICE_IN_BACK_MIC" interface="QUATERNARY_MI2S" codec_type="external"/>
<device name="AUDIO_DEVICE_IN_BUILTIN_MIC" interface="TERT_MI2S" codec_type="internal"/>
<device name="AUDIO_DEVICE_IN_BACK_MIC" interface="TERT_MI2S" codec_type="internal"/>
</interface_names>
<acdb_ids>
<!-- Output devices -->
<device name="SND_DEVICE_OUT_HANDSET" acdb_id="7"/>
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="14"/>
<device name="SND_DEVICE_OUT_SPEAKER_WSA" acdb_id="14"/>
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" acdb_id="135"/>
<device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="10"/>
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" acdb_id="10"/>
<device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="7"/>
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="14"/>
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_WSA" acdb_id="135"/>
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="10"/>
<device name="SND_DEVICE_OUT_HDMI" acdb_id="18"/>
<device name="SND_DEVICE_OUT_SPEAKER_AND_HDMI" acdb_id="14"/>
<device name="SND_DEVICE_OUT_BT_SCO" acdb_id="22"/>
<device name="SND_DEVICE_OUT_BT_SCO_WB" acdb_id="39"/>
<device name="SND_DEVICE_OUT_BT_A2DP" acdb_id="20"/>
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_A2DP" acdb_id="14"/>
<device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES" acdb_id="17"/>
<device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES" acdb_id="17"/>
<device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" acdb_id="37"/>
<device name="SND_DEVICE_OUT_AFE_PROXY" acdb_id="0"/>
<device name="SND_DEVICE_OUT_USB_HEADSET" acdb_id="45"/>
<device name="SND_DEVICE_OUT_SPEAKER_AND_USB_HEADSET" acdb_id="14"/>
<device name="SND_DEVICE_OUT_TRANSMISSION_FM" acdb_id="0"/>
<device name="SND_DEVICE_OUT_ANC_HEADSET" acdb_id="26"/>
<device name="SND_DEVICE_OUT_ANC_FB_HEADSET" acdb_id="27"/>
<device name="SND_DEVICE_OUT_VOICE_ANC_HEADSET" acdb_id="26"/>
<device name="SND_DEVICE_OUT_VOICE_ANC_FB_HEADSET" acdb_id="27"/>
<device name="SND_DEVICE_OUT_SPEAKER_AND_ANC_HEADSET" acdb_id="26"/>
<device name="SND_DEVICE_OUT_ANC_HANDSET" acdb_id="103"/>
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="101"/>
<device name="SND_DEVICE_OUT_VOIP_HANDSET" acdb_id="133"/>
<device name="SND_DEVICE_OUT_VOIP_SPEAKER" acdb_id="132"/>
<device name="SND_DEVICE_OUT_VOIP_HEADPHONES" acdb_id="134"/>
<!-- Input devices -->
<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="4"/>
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC" acdb_id="106"/>
<device name="SND_DEVICE_IN_HANDSET_MIC_NS" acdb_id="107"/>
<device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" acdb_id="108"/>
<device name="SND_DEVICE_IN_HANDSET_DMIC" acdb_id="41"/>
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC" acdb_id="109"/>
<device name="SND_DEVICE_IN_HANDSET_DMIC_NS" acdb_id="110"/>
<device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" acdb_id="111"/>
<device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="11"/>
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC" acdb_id="112"/>
<device name="SND_DEVICE_IN_SPEAKER_MIC_NS" acdb_id="113"/>
<device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" acdb_id="114"/>
<device name="SND_DEVICE_IN_SPEAKER_DMIC" acdb_id="43"/>
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC" acdb_id="115"/>
<device name="SND_DEVICE_IN_SPEAKER_DMIC_NS" acdb_id="116"/>
<device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS" acdb_id="117"/>
<device name="SND_DEVICE_IN_HEADSET_MIC" acdb_id="8"/>
<device name="SND_DEVICE_IN_HEADSET_MIC_FLUENCE" acdb_id="47"/>
<device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" acdb_id="11"/>
<device name="SND_DEVICE_IN_VOICE_HEADSET_MIC" acdb_id="8"/>
<device name="SND_DEVICE_IN_HDMI_MIC" acdb_id="4"/>
<device name="SND_DEVICE_IN_BT_SCO_MIC" acdb_id="21"/>
<device name="SND_DEVICE_IN_BT_SCO_MIC_NREC" acdb_id="122"/>
<device name="SND_DEVICE_IN_BT_SCO_MIC_WB" acdb_id="38"/>
<device name="SND_DEVICE_IN_BT_SCO_MIC_WB_NREC" acdb_id="123"/>
<device name="SND_DEVICE_IN_CAMCORDER_MIC" acdb_id="4"/>
<device name="SND_DEVICE_IN_VOICE_DMIC" acdb_id="41"/>
<device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC" acdb_id="43"/>
<device name="SND_DEVICE_IN_VOICE_SPEAKER_QMIC" acdb_id="19"/>
<device name="SND_DEVICE_IN_VOICE_TTY_FULL_HEADSET_MIC" acdb_id="16"/>
<device name="SND_DEVICE_IN_VOICE_TTY_VCO_HANDSET_MIC" acdb_id="36"/>
<device name="SND_DEVICE_IN_VOICE_TTY_HCO_HEADSET_MIC" acdb_id="16"/>
<device name="SND_DEVICE_IN_VOICE_REC_MIC" acdb_id="4"/>
<device name="SND_DEVICE_IN_VOICE_REC_MIC_NS" acdb_id="107"/>
<device name="SND_DEVICE_IN_VOICE_REC_DMIC_STEREO" acdb_id="34"/>
<device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" acdb_id="41"/>
<device name="SND_DEVICE_IN_USB_HEADSET_MIC" acdb_id="44"/>
<device name="SND_DEVICE_IN_CAPTURE_FM" acdb_id="0"/>
<device name="SND_DEVICE_IN_AANC_HANDSET_MIC" acdb_id="104"/>
<device name="SND_DEVICE_IN_QUAD_MIC" acdb_id="46"/>
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="34"/>
<device name="SND_DEVICE_IN_SPEAKER_STEREO_DMIC" acdb_id="35"/>
<device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" acdb_id="102"/>
<device name="SND_DEVICE_IN_VOICE_FLUENCE_DMIC_AANC" acdb_id="12"/>
<device name="SND_DEVICE_IN_HANDSET_QMIC" acdb_id="12"/>
<device name="SND_DEVICE_IN_SPEAKER_QMIC_AEC" acdb_id="119"/>
<device name="SND_DEVICE_IN_SPEAKER_QMIC_NS" acdb_id="121"/>
<device name="SND_DEVICE_IN_SPEAKER_QMIC_AEC_NS" acdb_id="120"/>
</acdb_ids>
</audio_platform_info>