blob: ef27730b0573066d1ce5b603ce0722082dfc1c2a [file] [log] [blame]
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +00001<?xml version="1.0" encoding="ISO-8859-1"?>
2<!-- Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. -->
3<!-- -->
4<!-- Redistribution and use in source and binary forms, with or without -->
5<!-- modification, are permitted provided that the following conditions are -->
6<!-- met: -->
7<!-- * Redistributions of source code must retain the above copyright -->
8<!-- notice, this list of conditions and the following disclaimer. -->
9<!-- * Redistributions in binary form must reproduce the above -->
10<!-- copyright notice, this list of conditions and the following -->
11<!-- disclaimer in the documentation and/or other materials provided -->
12<!-- with the distribution. -->
13<!-- * Neither the name of The Linux Foundation nor the names of its -->
14<!-- contributors may be used to endorse or promote products derived -->
15<!-- from this software without specific prior written permission. -->
16<!-- -->
17<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
18<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
19<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
20<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
21<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
22<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
23<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
24<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
25<!-- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -->
26<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
27<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
28<!-- -->
29<!-- Changes from Qualcomm Innovation Center are provided under the following license: -->
30<!-- Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. -->
31<!-- -->
32<!-- Redistribution and use in source and binary forms, with or without -->
33<!-- modification, are permitted (subject to the limitations in the -->
34<!-- disclaimer below) provided that the following conditions are met: -->
35<!-- -->
36<!-- * Redistributions of source code must retain the above copyright -->
37<!-- notice, this list of conditions and the following disclaimer. -->
38<!-- -->
39<!-- * Redistributions in binary form must reproduce the above -->
40<!-- copyright notice, this list of conditions and the following -->
41<!-- disclaimer in the documentation and/or other materials provided -->
42<!-- with the distribution. -->
43<!-- -->
44<!-- * Neither the name of Qualcomm Innovation Center, Inc. nor the names of its -->
45<!-- contributors may be used to endorse or promote products derived -->
46<!-- from this software without specific prior written permission. -->
47<!-- -->
48<!-- NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE -->
49<!-- GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT -->
50<!-- HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED -->
51<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
52<!-- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -->
53<!-- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -->
54<!-- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -->
55<!-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -->
56<!-- GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -->
57<!-- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -->
58<!-- IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -->
59<!-- OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
60<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
61<resource_manager_info>
62 <config_params>
63 <param key="native_audio_mode" value="multiple_mix_dsp"/>
64 <!-- Uncomment HIFI Filter Headphones related sections when set this
65 hifi_filter key to true -->
66 <param key="hifi_filter" value="false"/>
67 <param key="max_sessions" value="128"/>
68 <param key="max_nonTunnel_sessions" value="4"/>
69 <param key="logging_level" value ="3" />
70 <param key="context_manager_enable" value ="false" />
71 <param key="upd_dedicated_be" value ="true" />
72 <param key="dual_mono" value ="false" />
73 <param key="signal_handler" value ="true" />
74 </config_params>
75 <config_volume>
76 <use_volume_set_param>0</use_volume_set_param>
77 <supported_streams>
78 <supported_stream>PAL_STREAM_ULTRA_LOW_LATENCY</supported_stream>
79 <supported_stream>PAL_STREAM_COMPRESSED</supported_stream>
80 </supported_streams>
81 </config_volume>
82 <config_lpm>
83 <use_disable_lpm>1</use_disable_lpm>
84 <lpm_supported_streams>
85 <lpm_supported_stream>PAL_STREAM_LOW_LATENCY</lpm_supported_stream>
86 <lpm_supported_stream>PAL_STREAM_ULTRA_LOW_LATENCY</lpm_supported_stream>
87 </lpm_supported_streams>
88 </config_lpm>
89 <config_gapless key="gapless_supported" value="1"/>
90 <bt_codecs>
91 <codec codec_format="CODEC_TYPE_AAC" codec_type="enc|dec" codec_library="lib_bt_bundle.so" />
92 <codec codec_format="CODEC_TYPE_SBC" codec_type="enc|dec" codec_library="lib_bt_bundle.so" />
93 <codec codec_format="CODEC_TYPE_LDAC" codec_type="enc" codec_library="lib_bt_bundle.so" />
94 <codec codec_format="CODEC_TYPE_APTX" codec_type="enc" codec_library="lib_bt_aptx.so" />
95 <codec codec_format="CODEC_TYPE_APTX_HD" codec_type="enc" codec_library="lib_bt_aptx.so" />
96 <codec codec_format="CODEC_TYPE_APTX_AD" codec_type="enc" codec_library="lib_bt_aptx.so" />
97 <codec codec_format="CODEC_TYPE_APTX_DUAL_MONO" codec_type="enc" codec_library="lib_bt_aptx.so" />
98 <codec codec_format="CODEC_TYPE_APTX_AD_SPEECH" codec_type="enc|dec" codec_library="lib_bt_aptx.so" />
99 <codec codec_format="CODEC_TYPE_LC3" codec_type="enc|dec" codec_library="lib_bt_ble.so" />
100 </bt_codecs>
101 <gain_db_to_level_mapping>
102 <gain_level_map db="-59" level="5"/>
103 <gain_level_map db="-17.4" level="4"/>
104 <gain_level_map db="-13.8" level="3"/>
105 <gain_level_map db="-10.2" level="2"/>
106 <gain_level_map db="0" level="1"/>
107 </gain_db_to_level_mapping>
108 <config_voice>
109 <vsid>0xB3000000</vsid>
110 <loopbackDelay>1000</loopbackDelay>
111 <maxVolIndex>5</maxVolIndex>
112 <mode_map>
113 <modepair key="0x11C05000" value="0xB3000001"/>
114 <modepair key="0x11DC5000" value="0xB3000001"/>
115 <modepair key="0x12006000" value="0xB3000001"/>
116 <modepair key="0x121C6000" value="0xB3000001"/>
117 </mode_map>
118 </config_voice>
119 <low_power_vote_streams>
120 <stream_type>PAL_STREAM_VOICE_UI</stream_type>
121 <stream_type>PAL_STREAM_ACD</stream_type>
122 <stream_type>PAL_STREAM_ULTRASOUND</stream_type>
123 <stream_type>PAL_STREAM_SENSOR_PCM_DATA</stream_type>
124 </low_power_vote_streams>
Arian2617c0d2025-04-11 17:26:06 +0200125 <group_device_cfg>
126 <upd_rx>
127 <devicepp_mfc sample_rate="48000" channels="2" bit_width="24" />
128 <group_dev sample_rate = "96000" channels="3" bit_fmt="PAL_AUDIO_FMT_PCM_S24_LE" slot_mask="7" />
129 </upd_rx>
130 <handset>
131 <devicepp_mfc sample_rate="48000" channels="2" bit_width="24" />
132 <group_dev sample_rate = "96000" channels="3" bit_fmt="PAL_AUDIO_FMT_PCM_S24_LE" slot_mask="7" />
133 </handset>
134 <speaker>
135 <devicepp_mfc sample_rate="48000" channels="2" bit_width="24" />
136 <group_dev sample_rate = "96000" channels="3" bit_fmt="PAL_AUDIO_FMT_PCM_S24_LE" slot_mask="7" />
137 </speaker>
138 <speaker_voice>
139 <devicepp_mfc sample_rate="48000" channels="2" bit_width="24" />
140 <group_dev sample_rate = "96000" channels="3" bit_fmt="PAL_AUDIO_FMT_PCM_S24_LE" slot_mask="7" />
141 </speaker_voice>
142 </group_device_cfg>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000143 <device_profile>
144 <in-device>
145 <id>PAL_DEVICE_IN_HANDSET_MIC</id>
146 <back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
147 <max_channels>4</max_channels>
Arian90a76232025-04-11 14:03:23 +0200148 <channels>2</channels>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000149 <samplerate>48000</samplerate>
150 <bit_width>16</bit_width>
Arian90a76232025-04-11 14:03:23 +0200151 <snd_device_name>handset-dmic-endfire</snd_device_name>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000152 <usecase>
153 <name>PAL_STREAM_LOW_LATENCY</name>
154 </usecase>
155 <usecase>
156 <name>PAL_STREAM_DEEP_BUFFER</name>
157 </usecase>
158 <usecase>
159 <name>PAL_STREAM_VOIP_TX</name>
160 <priority>2</priority>
161 </usecase>
162 <usecase>
163 <name>PAL_STREAM_VOICE_CALL</name>
164 <priority>1</priority>
165 <sidetone_mode>HW</sidetone_mode>
166 <bit_width>16</bit_width>
167 <custom-config key="dual-mic">
168 <channels>2</channels>
169 <snd_device_name>handset-dmic-endfire</snd_device_name>
170 </custom-config>
171 <custom-config key="quad-mic">
172 <channels>4</channels>
173 <snd_device_name>quad-mic</snd_device_name>
174 </custom-config>
175 </usecase>
176 <usecase>
177 <name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
178 </usecase>
179 <usecase>
180 <name>PAL_STREAM_RAW</name>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000181 <custom-config key="unprocessed-hdr-mic-landscape">
182 <channels>4</channels>
183 <snd_device_name>unprocessed-hdr-mic-landscape</snd_device_name>
184 </custom-config>
185 <custom-config key="unprocessed-hdr-mic-portrait">
186 <channels>4</channels>
187 <snd_device_name>unprocessed-hdr-mic-portrait</snd_device_name>
188 </custom-config>
189 <custom-config key="unprocessed-hdr-mic-inverted-landscape">
190 <channels>4</channels>
191 <snd_device_name>unprocessed-hdr-mic-inverted-landscape</snd_device_name>
192 </custom-config>
193 <custom-config key="unprocessed-hdr-mic-inverted-portrait">
194 <channels>4</channels>
195 <snd_device_name>unprocessed-hdr-mic-inverted-portrait</snd_device_name>
196 </custom-config>
197 </usecase>
198 <ec_rx_device>
199 <id>PAL_DEVICE_OUT_HANDSET</id>
200 <id>PAL_DEVICE_OUT_SPEAKER</id>
201 </ec_rx_device>
202 </in-device>
203 <in-device>
204 <id>PAL_DEVICE_IN_SPEAKER_MIC</id>
205 <back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
206 <max_channels>4</max_channels>
207 <samplerate>48000</samplerate>
208 <bit_width>16</bit_width>
209 <channels>1</channels>
210 <snd_device_name>speaker-mic</snd_device_name>
211 <usecase>
212 <name>PAL_STREAM_LOW_LATENCY</name>
213 </usecase>
214 <usecase>
215 <name>PAL_STREAM_DEEP_BUFFER</name>
Arian439041c2025-05-24 17:40:16 +0200216 <custom-config key="camcorder_landscape">
217 <channels>4</channels>
218 <snd_device_name>handset-stereo-dmic-ef</snd_device_name>
219 </custom-config>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000220 </usecase>
221 <usecase>
222 <name>PAL_STREAM_VOIP_TX</name>
223 <priority>2</priority>
Ariand4772ea2025-04-11 16:53:46 +0200224 <channels>2</channels>
225 <snd_device_name>speaker-dmic-endfire</snd_device_name>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000226 </usecase>
227 <usecase>
228 <name>PAL_STREAM_VOICE_CALL</name>
229 <priority>1</priority>
230 <sidetone_mode>OFF</sidetone_mode>
231 <bit_width>16</bit_width>
Ariand4772ea2025-04-11 16:53:46 +0200232 <channels>2</channels>
233 <snd_device_name>speaker-dmic-endfire</snd_device_name>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000234 <custom-config key="dual-mic">
235 <channels>2</channels>
236 <snd_device_name>speaker-dmic-endfire</snd_device_name>
237 </custom-config>
238 <custom-config key="quad-mic">
239 <channels>4</channels>
240 <snd_device_name>quad-mic</snd_device_name>
241 </custom-config>
242 </usecase>
243 <usecase>
244 <name>PAL_STREAM_LOOPBACK</name>
245 </usecase>
246 <usecase>
247 <name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
248 </usecase>
249 <ec_rx_device>
250 <id>PAL_DEVICE_OUT_SPEAKER</id>
Arian141da192025-04-11 17:39:34 +0200251 <id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
252 <id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000253 </ec_rx_device>
254 </in-device>
255 <in-device>
256 <id>PAL_DEVICE_IN_WIRED_HEADSET</id>
257 <back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
258 <max_channels>1</max_channels>
259 <channels>1</channels>
Arian2617c0d2025-04-11 17:26:06 +0200260 <bit_width>16</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000261 <snd_device_name>headset-mic</snd_device_name>
262 <usecase>
263 <name>PAL_STREAM_LOW_LATENCY</name>
264 </usecase>
265 <usecase>
266 <name>PAL_STREAM_DEEP_BUFFER</name>
267 </usecase>
268 <usecase>
269 <name>PAL_STREAM_VOIP_TX</name>
270 <samplerate>48000</samplerate>
271 <bit_width>16</bit_width>
272 </usecase>
273 <usecase>
274 <name>PAL_STREAM_VOICE_CALL</name>
275 <sidetone_mode>HW</sidetone_mode>
276 <samplerate>48000</samplerate>
277 <bit_width>16</bit_width>
278 <priority>1</priority>
279 </usecase>
280 <usecase>
281 <name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
282 </usecase>
283 <ec_rx_device>
284 <id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
285 <id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
286 </ec_rx_device>
287 </in-device>
288 <in-device>
289 <id>PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET</id>
290 <back_end_name>SLIM-DEV1-TX-7</back_end_name>
291 <max_channels>1</max_channels>
292 <channels>1</channels>
293 <samplerate>8000</samplerate>
294 <bit_width>16</bit_width>
295 <snd_device_name>bt-sco-mic</snd_device_name>
296 <usecase>
297 <name>PAL_STREAM_LOW_LATENCY</name>
298 </usecase>
299 <usecase>
300 <name>PAL_STREAM_DEEP_BUFFER</name>
301 </usecase>
302 <usecase>
303 <name>PAL_STREAM_VOIP_TX</name>
304 </usecase>
305 <usecase>
306 <name>PAL_STREAM_VOICE_CALL</name>
307 <priority>1</priority>
308 </usecase>
309 <usecase>
310 <name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
311 </usecase>
312 <ec_rx_device>
313 <id>PAL_DEVICE_OUT_BLUETOOTH_SCO</id>
314 </ec_rx_device>
315 </in-device>
316 <in-device>
317 <id>PAL_DEVICE_IN_HANDSET_VA_MIC</id>
318 <back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
319 <max_channels>2</max_channels>
320 <channels>1</channels>
321 <samplerate>48000</samplerate>
322 <bit_width>16</bit_width>
323 <snd_device_name>va-mic</snd_device_name>
324 <ec_rx_device>
325 <id>PAL_DEVICE_OUT_SPEAKER</id>
326 <id>PAL_DEVICE_OUT_HANDSET</id>
327 <id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
328 </ec_rx_device>
329 </in-device>
330 <in-device>
331 <id>PAL_DEVICE_IN_HEADSET_VA_MIC</id>
332 <back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
333 <max_channels>2</max_channels>
334 <channels>1</channels>
335 <snd_device_name>headset-va-mic</snd_device_name>
336 <samplerate>48000</samplerate>
337 <bit_width>16</bit_width>
338 <ec_rx_device>
339 <id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
340 <id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
341 <id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
342 </ec_rx_device>
343 </in-device>
344 <in-device>
345 <id>PAL_DEVICE_IN_USB_HEADSET</id>
346 <back_end_name>USB_AUDIO-TX</back_end_name>
347 <max_channels>1</max_channels>
348 <channels>1</channels>
349 <samplerate>48000</samplerate>
350 <bit_width>16</bit_width>
351 <snd_device_name>usb-headset-mic</snd_device_name>
352 <usecase>
353 <name>PAL_STREAM_VOIP_TX</name>
354 </usecase>
355 <usecase>
356 <name>PAL_STREAM_LOW_LATENCY</name>
357 </usecase>
358 <usecase>
359 <name>PAL_STREAM_DEEP_BUFFER</name>
360 </usecase>
361 <usecase>
362 <name>PAL_STREAM_VOICE_CALL</name>
363 <priority>1</priority>
364 <sidetone_mode>HW</sidetone_mode>
365 </usecase>
366 <usecase>
367 <name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
368 </usecase>
369 <ec_rx_device>
370 <id>PAL_DEVICE_OUT_USB_HEADSET</id>
371 </ec_rx_device>
372 </in-device>
373 <in-device>
374 <id>PAL_DEVICE_IN_FM_TUNER</id>
375 <back_end_name>MI2S-LPAIF-TX-TERTIARY</back_end_name>
376 <max_channels>2</max_channels>
377 <channels>2</channels>
378 <snd_device_name>play-fm</snd_device_name>
379 <samplerate>48000</samplerate>
380 <bit_width>16</bit_width>
381 <usecase>
382 <name>PAL_STREAM_LOOPBACK</name>
383 </usecase>
384 </in-device>
385 <in-device>
386 <id>PAL_DEVICE_IN_PROXY</id>
387 <back_end_name>PCM_RT_PROXY-TX-1</back_end_name>
388 <max_channels>2</max_channels>
389 <channels>2</channels>
390 <snd_device_name>afe-proxy</snd_device_name>
391 <usecase>
392 <name>PAL_STREAM_PROXY</name>
393 </usecase>
394 </in-device>
395 <in-device>
396 <id>PAL_DEVICE_IN_VI_FEEDBACK</id>
397 <back_end_name>CODEC_DMA-LPAIF_WSA-TX-0</back_end_name>
398 <max_channels>2</max_channels>
399 <channels>2</channels>
400 <samplerate>48000</samplerate>
401 <bit_width>32</bit_width>
402 <snd_device_name>vi-feedback</snd_device_name>
403 </in-device>
404 <in-device>
405 <id>PAL_DEVICE_IN_BLUETOOTH_A2DP</id>
406 <back_end_name>SLIM-DEV1-TX-7</back_end_name>
407 <max_channels>1</max_channels>
408 <channels>1</channels>
409 <snd_device_name>bt-a2dp-mic</snd_device_name>
410 <samplerate>44100</samplerate>
411 <bit_width>16</bit_width>
412 </in-device>
413 <in-device>
414 <id>PAL_DEVICE_IN_TELEPHONY_RX</id>
415 <back_end_name>PCM_RT_PROXY-TX-1</back_end_name>
416 <max_channels>2</max_channels>
417 <channels>2</channels>
418 <snd_device_name>afe-proxy</snd_device_name>
419 <usecase>
420 <name>PAL_STREAM_PROXY</name>
421 </usecase>
422 </in-device>
423 <in-device>
424 <id>PAL_DEVICE_IN_ULTRASOUND_MIC</id>
425 <back_end_name>CODEC_DMA-LPAIF_RXTX-TX-4</back_end_name>
426 <max_channels>2</max_channels>
427 <channels>1</channels>
428 <samplerate>96000</samplerate>
429 <bit_width>16</bit_width>
430 <snd_device_name>ultrasound-mic</snd_device_name>
431 <usecase>
432 <name>PAL_STREAM_ULTRASOUND</name>
433 </usecase>
434 </in-device>
435 <in-device>
436 <id>PAL_DEVICE_IN_EXT_EC_REF</id>
Arian6ad2edd2025-04-11 16:54:38 +0200437 <back_end_name>TDM-LPAIF-TX-TERTIARY</back_end_name>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000438 <snd_device_name>ext_ec_ref_tx</snd_device_name>
Arian141da192025-04-11 17:39:34 +0200439 <max_channels>4</max_channels>
440 <channels>4</channels>
441 <bit_width>24</bit_width>
442 <samplerate>96000</samplerate>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000443 </in-device>
444 <out-device>
445 <id>PAL_DEVICE_NONE</id>
446 <back_end_name>CODEC_DMA-LPAIF_WSA-RX-0</back_end_name>
447 <max_channels>2</max_channels>
448 <channels>1</channels>
449 <snd_device_name>none</snd_device_name>
450 <samplerate>48000</samplerate>
451 <bit_width>16</bit_width>
452 </out-device>
453 <out-device>
454 <id>PAL_DEVICE_OUT_SPEAKER</id>
Arian6ad2edd2025-04-11 16:54:38 +0200455 <back_end_name>TDM-LPAIF-RX-TERTIARY-VIRT-0</back_end_name>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000456 <max_channels>2</max_channels>
457 <channels>2</channels>
458 <samplerate>48000</samplerate>
Arian2617c0d2025-04-11 17:26:06 +0200459 <bit_width>24</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000460 <snd_device_name>speaker</snd_device_name>
461 <speaker_protection_enabled>0</speaker_protection_enabled>
462 <fractional_sr>0</fractional_sr>
463 <!-- To enable external EC reference the flag extec_ref_enabled must be added as 1 -->
Arian141da192025-04-11 17:39:34 +0200464 <ext_ec_ref_enabled>1</ext_ec_ref_enabled>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000465 <cps_enabled>0</cps_enabled>
466 <vbat_enabled>0</vbat_enabled>
467 <!--specify the supported bit format on speaker end point -->
468 <!--this should be in the form of pal_audio_fmt_id-->
469 <!--e.g <supported_bit_format >PAL_AUDIO_FMT_PCM_S24_LE</supported_bit_format>-->
Arian2617c0d2025-04-11 17:26:06 +0200470 <supported_bit_format>PAL_AUDIO_FMT_PCM_S24_LE</supported_bit_format>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000471 <!-- RAS should be enabled with speaker protection always -->
472 <ras_enabled>0</ras_enabled>
473 <!-- Flag to specify speaker in case Voice call is switched from
474 handset to speaker with only 1 speaker.
475 Values: Both speaker : 0
476 Right speaker: 1
477 Left speaker : 2
478 -->
479 <speaker_mono_right>0</speaker_mono_right>
480 <!-- Time in seconds for Quick cal. Set 0 to disable -->
481 <quick_cal_time>0</quick_cal_time>
482 <usecase>
483 <name>PAL_STREAM_VOICE_CALL</name>
484 <priority>2</priority>
485 <channels>1</channels>
486 <snd_device_name>speaker-mono-2</snd_device_name>
487 </usecase>
488 <usecase>
489 <name>PAL_STREAM_VOIP_RX</name>
Arian2617c0d2025-04-11 17:26:06 +0200490 <bit_width>16</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000491 <priority>3</priority>
492 </usecase>
493 <usecase>
494 <name>PAL_STREAM_ULTRASOUND</name>
495 <priority>1</priority>
496 <samplerate>96000</samplerate>
497 </usecase>
498 </out-device>
499 <out-device>
500 <id>PAL_DEVICE_OUT_HANDSET</id>
Arian6ad2edd2025-04-11 16:54:38 +0200501 <back_end_name>TDM-LPAIF-RX-TERTIARY-VIRT-0</back_end_name>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000502 <max_channels>2</max_channels>
503 <channels>1</channels>
504 <!-- To enable external EC reference the flag extec_ref_enabled must be added as 1 -->
Arian141da192025-04-11 17:39:34 +0200505 <ext_ec_ref_enabled>1</ext_ec_ref_enabled>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000506 <samplerate>48000</samplerate>
Arian2617c0d2025-04-11 17:26:06 +0200507 <bit_width>24</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000508 <fractional_sr>0</fractional_sr>
509 <snd_device_name>handset</snd_device_name>
510 <handset_protection_enabled>0</handset_protection_enabled>
511 <usecase>
512 <name>PAL_STREAM_VOICE_CALL</name>
513 <priority>2</priority>
514 <custom-config key="HAC">
515 <snd_device_name>voice-handset-hac</snd_device_name> <!-- override sound device name with HAC handset -->
516 </custom-config>
517 </usecase>
518 <usecase>
519 <name>PAL_STREAM_VOIP_RX</name>
520 <priority>3</priority>
521 <custom-config key="HAC">
522 <snd_device_name>voice-handset-hac</snd_device_name> <!-- override sound device name with HAC handset for voip -->
523 </custom-config>
524 </usecase>
525 <usecase>
526 <name>PAL_STREAM_ULTRASOUND</name>
527 <priority>1</priority>
528 <samplerate>96000</samplerate>
529 </usecase>
530 </out-device>
531 <out-device>
532 <id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
533 <back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
534 <max_channels>2</max_channels>
535 <channels>2</channels>
Arian2617c0d2025-04-11 17:26:06 +0200536 <bit_width>24</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000537 <fractional_sr>1</fractional_sr>
538 <snd_device_name>headphones</snd_device_name>
539 <!--HIFI Filter Headphones-Uncomment this when param key hifi_filter is true
540 <usecase>
541 <name>PAL_STREAM_COMPRESSED</name>
542 <custom-config key="hifi-filter_custom_key">
543 <snd_device_name>headphones-hifi-filter</snd_device_name>
544 </custom-config>
545 </usecase>
546 <usecase>
547 <name>PAL_STREAM_PCM_OFFLOAD</name>
548 <custom-config key="hifi-filter_custom_key">
549 <snd_device_name>headphones-hifi-filter</snd_device_name>
550 </custom-config>
551 </usecase>
552 <usecase>
553 <name>PAL_STREAM_DEEP_BUFFER</name>
554 <custom-config key="hifi-filter_custom_key">
555 <snd_device_name>headphones-hifi-filter</snd_device_name>
556 </custom-config>
557 </usecase>
558 -->
559 <usecase>
560 <name>PAL_STREAM_VOICE_CALL</name>
561 <priority>1</priority>
562 <samplerate>48000</samplerate>
Arian2617c0d2025-04-11 17:26:06 +0200563 <bit_width>24</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000564 </usecase>
565 <usecase>
566 <name>PAL_STREAM_VOIP_RX</name>
567 <priority>2</priority>
568 <samplerate>48000</samplerate>
Arian2617c0d2025-04-11 17:26:06 +0200569 <bit_width>24</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000570 </usecase>
571 </out-device>
572 <out-device>
573 <id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
574 <back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
575 <max_channels>2</max_channels>
576 <channels>2</channels>
577 <fractional_sr>1</fractional_sr>
Arian2617c0d2025-04-11 17:26:06 +0200578 <bit_width>24</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000579 <snd_device_name>headphones</snd_device_name>
580 <!--HIFI Filter Headphones-Uncomment this when param key hifi_filter is true
581 <usecase>
582 <name>PAL_STREAM_COMPRESSED</name>
583 <custom-config key="hifi-filter_custom_key">
584 <snd_device_name>headphones-hifi-filter</snd_device_name>
585 </custom-config>
586 </usecase>
587 <usecase>
588 <name>PAL_STREAM_PCM_OFFLOAD</name>
589 <custom-config key="hifi-filter_custom_key">
590 <snd_device_name>headphones-hifi-filter</snd_device_name>
591 </custom-config>
592 </usecase>
593 <usecase>
594 <name>PAL_STREAM_DEEP_BUFFER</name>
595 <custom-config key="hifi-filter_custom_key">
596 <snd_device_name>headphones-hifi-filter</snd_device_name>
597 </custom-config>
598 </usecase>
599 -->
600 <usecase>
601 <name>PAL_STREAM_VOICE_CALL</name>
602 <priority>1</priority>
603 <samplerate>48000</samplerate>
Arian2617c0d2025-04-11 17:26:06 +0200604 <bit_width>24</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000605 </usecase>
606 <usecase>
607 <name>PAL_STREAM_VOIP_RX</name>
608 <priority>2</priority>
609 <samplerate>48000</samplerate>
Arian2617c0d2025-04-11 17:26:06 +0200610 <bit_width>24</bit_width>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000611 </usecase>
612 </out-device>
613 <out-device>
614 <id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
615 <back_end_name>SLIM-DEV1-RX-7</back_end_name>
616 <max_channels>1</max_channels>
617 <channels>1</channels>
618 <snd_device_name>bt-a2dp</snd_device_name>
619 <samplerate>44100</samplerate>
620 <bit_width>16</bit_width>
621 <usecase>
622 <name>PAL_STREAM_VOICE_CALL</name>
623 <priority>1</priority>
624 </usecase>
625 </out-device>
626 <out-device>
627 <id>PAL_DEVICE_OUT_BLUETOOTH_SCO</id>
628 <back_end_name>SLIM-DEV1-RX-7</back_end_name>
629 <max_channels>1</max_channels>
630 <channels>1</channels>
631 <snd_device_name>bt-sco</snd_device_name>
632 <samplerate>8000</samplerate>
633 <bit_width>16</bit_width>
634 <usecase>
635 <name>PAL_STREAM_VOICE_CALL</name>
636 <priority>1</priority>
637 </usecase>
638 </out-device>
639 <out-device>
640 <id>PAL_DEVICE_OUT_AUX_DIGITAL</id>
641 <back_end_name>DISPLAY_PORT-RX</back_end_name>
642 <max_channels>32</max_channels>
643 <channels>2</channels>
644 <snd_device_name>display-port</snd_device_name>
645 <fractional_sr>1</fractional_sr>
646 <usecase>
647 <name>PAL_STREAM_VOICE_CALL</name>
648 <priority>1</priority>
649 </usecase>
650 </out-device>
651 <out-device>
652 <id>PAL_DEVICE_OUT_HDMI</id>
653 <back_end_name>DISPLAY_PORT-RX</back_end_name>
654 <max_channels>32</max_channels>
655 <channels>2</channels>
656 <fractional_sr>1</fractional_sr>
657 <snd_device_name>display-port</snd_device_name>
658 <usecase>
659 <name>PAL_STREAM_VOICE_CALL</name>
660 <priority>1</priority>
661 </usecase>
662 </out-device>
663 <out-device>
664 <id>PAL_DEVICE_OUT_USB_DEVICE</id>
665 <back_end_name>USB_AUDIO-RX</back_end_name>
666 <max_channels>2</max_channels>
667 <channels>2</channels>
668 <snd_device_name>usb-headphones</snd_device_name>
669 <fractional_sr>1</fractional_sr>
670 <usecase>
671 <name>PAL_STREAM_VOICE_CALL</name>
672 <priority>1</priority>
673 </usecase>
674 </out-device>
675 <out-device>
676 <id>PAL_DEVICE_OUT_USB_HEADSET</id>
677 <back_end_name>USB_AUDIO-RX</back_end_name>
678 <max_channels>2</max_channels>
679 <channels>2</channels>
680 <snd_device_name>usb-headphones</snd_device_name>
681 <fractional_sr>1</fractional_sr>
682 <usecase>
683 <name>PAL_STREAM_VOICE_CALL</name>
684 <priority>1</priority>
685 </usecase>
686 </out-device>
687 <out-device>
688 <id>PAL_DEVICE_OUT_AUX_DIGITAL_1</id>
689 <back_end_name>DISPLAY_PORT-RX</back_end_name>
690 <max_channels>8</max_channels>
691 <channels>2</channels>
692 <snd_device_name>display-port</snd_device_name>
693 <fractional_sr>1</fractional_sr>
694 <usecase>
695 <name>PAL_STREAM_VOICE_CALL</name>
696 <priority>1</priority>
697 </usecase>
698 </out-device>
699 <out-device>
700 <id>PAL_DEVICE_OUT_PROXY</id>
701 <back_end_name>PCM_RT_PROXY-RX-1</back_end_name>
702 <max_channels>8</max_channels>
703 <channels>2</channels>
704 <snd_device_name>afe-proxy</snd_device_name>
705 <fractional_sr>0</fractional_sr>
706 <samplerate>48000</samplerate>
707 <usecase>
708 <name>PAL_STREAM_VOICE_CALL</name>
709 <priority>1</priority>
710 </usecase>
711 </out-device>
712 <out-device>
713 <id>PAL_DEVICE_OUT_HEARING_AID</id>
714 <back_end_name>PCM_RT_PROXY-RX-1</back_end_name>
715 <max_channels>8</max_channels>
716 <channels>2</channels>
717 <snd_device_name>afe-proxy</snd_device_name>
718 <fractional_sr>0</fractional_sr>
719 <usecase>
720 <name>PAL_STREAM_VOICE_CALL</name>
721 <priority>1</priority>
722 </usecase>
723 </out-device>
724 <out-device>
725 <id>PAL_DEVICE_OUT_HAPTICS_DEVICE</id>
726 <back_end_name>CODEC_DMA-LPAIF_RXTX-RX-6</back_end_name>
727 <max_channels>2</max_channels>
728 <channels>1</channels>
729 <snd_device_name>haptics-dev</snd_device_name>
730 </out-device>
731 <out-device>
732 <id>PAL_DEVICE_OUT_ULTRASOUND</id>
Arian6ad2edd2025-04-11 16:54:38 +0200733 <back_end_name>TDM-LPAIF-RX-TERTIARY-VIRT-1</back_end_name>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +0000734 <max_channels>2</max_channels>
735 <channels>1</channels>
736 <snd_device_name>ultrasound-handset</snd_device_name>
737 <samplerate>96000</samplerate>
738 <bit_width>16</bit_width>
739 </out-device>
740 </device_profile>
741 <in_streams>
742 <in_stream>
743 <name>PAL_STREAM_VOIP_TX</name>
744 <policies>
745 <ec_ref>
746 <disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
747 </ec_ref>
748 </policies>
749 </in_stream>
750 <in_stream>
751 <name>PAL_STREAM_DEEP_BUFFER</name>
752 <policies>
753 <ec_ref>
754 <disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
755 <disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
756 </ec_ref>
757 </policies>
758 </in_stream>
759 <in_stream>
760 <name>PAL_STREAM_VOICE_UI</name>
761 <policies>
762 <ec_ref>
763 <disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
764 <disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
765 </ec_ref>
766 </policies>
767 </in_stream>
768 <in_stream>
769 <name>PAL_STREAM_ACD</name>
770 <policies>
771 <ec_ref>
772 <disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
773 <disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
774 </ec_ref>
775 </policies>
776 </in_stream>
777 <in_stream>
778 <name>PAL_STREAM_PROXY</name>
779 <policies>
780 <ec_ref>
781 <disabled_stream>PAL_STREAM_COMPRESSED</disabled_stream>
782 <disabled_stream>PAL_STREAM_ULTRA_LOW_LATENCY</disabled_stream>
783 <disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
784 <disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
785 </ec_ref>
786 </policies>
787 </in_stream>
788 <in_stream>
789 <name>PAL_STREAM_RAW</name>
790 <policies>
791 <ec_ref>
792 <disabled_stream>PAL_STREAM_COMPRESSED</disabled_stream>
793 <disabled_stream>PAL_STREAM_ULTRA_LOW_LATENCY</disabled_stream>
794 <disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
795 <disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
796 </ec_ref>
797 </policies>
798 </in_stream>
799 <in_stream>
800 <name>PAL_STREAM_SENSOR_PCM_DATA</name>
801 <policies>
802 <ec_ref>
803 <disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
804 <disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
805 </ec_ref>
806 </policies>
807 </in_stream>
808 </in_streams>
809 <acd_platform_info>
810 <common_config>
811 <param acd_enable="true" />
812 <param support_device_switch="true" />
813 <param support_nlpi_switch="true" />
814 <param lpi_enable="true" />
815 <param enable_debug_dumps="false" />
816 <param concurrent_capture="true" />
817 <param concurrent_voice_call="true" />
818 <param concurrent_voip_call="true" />
819 <param low_latency_bargein_enable="false" />
820 </common_config>
821 <capture_profile_list>
822 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_LPI">
823 <param sample_rate="16000" />
824 <param channels="1" />
825 <param bit_width="16" />
826 <param snd_name="headset-va-mic-lpi" />
827 <param ec_ref="false" />
828 </capture_profile>
829 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI">
830 <param sample_rate="16000" />
831 <param channels="1" />
832 <param bit_width="16" />
833 <param snd_name="headset-va-mic-lpi" />
834 <param ec_ref="false" />
835 </capture_profile>
836 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFNS">
837 <param sample_rate="16000" />
838 <param channels="1" />
839 <param bit_width="16" />
840 <param snd_name="headset-va-mic-lpi" />
841 <param ec_ref="false" />
842 </capture_profile>
843 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS">
844 <param sample_rate="16000" />
845 <param channels="1" />
846 <param bit_width="16" />
847 <param snd_name="headset-va-mic" />
848 <param ec_ref="true" />
849 </capture_profile>
850 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFEC">
851 <param sample_rate="16000" />
852 <param channels="1" />
853 <param bit_width="16" />
854 <param snd_name="headset-va-mic" />
855 <param ec_ref="true" />
856 </capture_profile>
857 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_LPI">
858 <param sample_rate="16000" />
859 <param channels="1" />
860 <param bit_width="16" />
861 <param snd_name="va-mic-mono-lpi" />
862 <param ec_ref="false" />
863 </capture_profile>
864 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_LPI">
865 <param sample_rate="16000" />
866 <param channels="1" />
867 <param bit_width="16" />
868 <param snd_name="va-mic-mono-lpi" />
869 <param ec_ref="false" />
870 </capture_profile>
871 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFNS">
872 <param sample_rate="16000" />
873 <param channels="1" />
874 <param bit_width="16" />
875 <param snd_name="va-mic-mono-lpi" />
876 <param ec_ref="false" />
877 </capture_profile>
878 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFECNS">
879 <param sample_rate="16000" />
880 <param channels="1" />
881 <param bit_width="16" />
882 <param snd_name="va-mic-mono" />
883 <param ec_ref="true" />
884 </capture_profile>
885 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFEC">
886 <param sample_rate="16000" />
887 <param channels="1" />
888 <param bit_width="16" />
889 <param snd_name="va-mic-mono" />
890 <param ec_ref="true" />
891 </capture_profile>
892 </capture_profile_list>
893 <!-- ACD -->
894 <stream_config>
895 <name>QC_ACD</name>
896 <param vendor_uuid="4e93281b-296e-4d73-9833-2710c3c7c1db"/>
897 <!-- Profile specific data which the algorithm can support -->
898 <param sample_rate="16000" />
899 <param bit_width="16" />
900 <param out_channels="1"/> <!-- Module output channels -->
901 <operating_modes>
902 <low_power capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_LPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_LPI"/>
903 <high_performance capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
904 </operating_modes>
905 <sound_models>
906 <model>
907 <name>ACD_SOUND_MODEL_ID_EVENT</name>
908 <bin>event.eai</bin>
909 <uuid>0x0B001007</uuid>
910 <contexts>
911 <context id="0x0800132D"/> <!-- EVENT_ALARM -->
912 <context id="0x0800132E"/> <!-- EVENT_BABYCRYING -->
913 <context id="0x0800132F"/> <!-- EVENT_DOGBARKING -->
914 <context id="0x08001330"/> <!-- EVENT_DOORBELL -->
915 <context id="0x08001331"/> <!-- EVENT_DOORCLOSE -->
916 <context id="0x08001332"/> <!-- EVENT_DOOROPEN -->
917 <context id="0x08001333"/> <!-- EVENT_GLASSBREAKING -->
918 <context id="0x08001334"/> <!-- EVENT_SIREN -->
919 </contexts>
920 </model>
921 <model>
922 <name>ACD_SOUND_MODEL_ID_SPEECH</name>
923 <bin>speech.eai</bin>
924 <uuid>0x0B001008</uuid>
925 <contexts>
926 <context id="0x08001335"/> <!-- AMBIENCE_SPEECH -->
927 </contexts>
928 </model>
929 <model>
930 <name>ACD_SOUND_MODEL_ID_MUSIC</name>
931 <bin>music.eai</bin>
932 <uuid>0x0B001009</uuid>
933 <contexts>
934 <context id="0x08001336"/> <!-- AMBIENCE_MUSIC -->
935 </contexts>
936 </model>
937 <model>
938 <name>ACD_SOUND_MODEL_AMBIENCE_NOISE_SILENCE</name>
939 <bin></bin> <!-- Following contexts dont have a model, hence empty bin -->
940 <uuid>0xFFFFFFFF</uuid> <!-- Indicates no sound model -->
941 <contexts>
942 <context id="0x08001337"/> <!-- AMBIENCE_NOISY_SPL -->
943 <context id="0x08001338"/> <!-- AMBIENCE_SILENT_SPL -->
944 <context id="0x08001339"/> <!-- AMBIENCE_NOISY_SFLUX -->
945 <context id="0x0800133A"/> <!-- AMBIENCE_SILENT_SFLUX -->
946 </contexts>
947 </model>
948 </sound_models>
949 </stream_config>
950 <!-- Sensor PCM Data -->
951 <stream_config>
952 <name>QC_SENSOR_PCM_DATA</name>
953 <param vendor_uuid="c88a2c89-7a55-498c-836f-5d7ec8582990" />
954 <!-- Profile specific data which the algorithm can support -->
955 <param sample_rate="16000" />
956 <param bit_width="16" />
957 <param out_channels="1" /> <!-- Module output channels -->
958 <operating_modes>
959 <low_power capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_RAW_LPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI"/>
960 <low_power_ns capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_FFNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFNS"/>
961 <high_performance capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_FFEC" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFEC"/>
962 <high_performance_ns capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
963 </operating_modes>
964 </stream_config>
965 </acd_platform_info>
966 <sound_trigger_platform_info>
967 <common_config>
968 <!-- Param used by apk to indicate the SVA version current platform supports -->
969 <param version="0x0103" />
970 <param enable_failure_detection="false" />
971 <param support_device_switch="true" />
972 <param support_nlpi_switch="true" />
973 <param transit_to_non_lpi_on_charging="false" />
974 <!-- Param used to indicate if SVA has dedicated back end path and ports not conflicting with other audio paths -->
975 <param dedicated_sva_path="true" />
976 <param dedicated_headset_path="false" />
977 <param lpi_enable="true" />
978 <param enable_debug_dumps="false" />
979 <param concurrent_capture="true" />
980 <param concurrent_voice_call="true" />
981 <param concurrent_voip_call="true" />
982 <param low_latency_bargein_enable="false" />
983 <param mmap_enable="true" />
984 <param mmap_buffer_duration="5000" />
985 <param mmap_frame_length="5" /> <!-- 5ms duration of data -->
986 <param notify_second_stage_failure="false"/>
987 </common_config>
988 <capture_profile_list>
989 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFNS">
990 <param sample_rate="16000" />
991 <param channels="1" />
992 <param bit_width="16" />
993 <param snd_name="headset-va-mic-lpi" />
994 <param ec_ref="false" />
995 </capture_profile>
996 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS">
997 <param sample_rate="16000" />
998 <param channels="1" />
999 <param bit_width="16" />
1000 <param snd_name="headset-va-mic" />
1001 <param ec_ref="true" />
1002 </capture_profile>
1003 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI">
1004 <param sample_rate="16000" />
1005 <param channels="1" />
1006 <param bit_width="16" />
1007 <param snd_name="headset-va-mic-lpi" />
1008 <param ec_ref="false" />
1009 </capture_profile>
1010 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI">
1011 <param sample_rate="16000" />
1012 <param channels="1" />
1013 <param bit_width="16" />
1014 <param snd_name="headset-va-mic" />
1015 <param ec_ref="false" />
1016 </capture_profile>
1017 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_LPI">
1018 <param sample_rate="16000" />
1019 <param channels="1" />
1020 <param bit_width="16" />
1021 <param snd_name="va-mic-mono-lpi" />
1022 <param ec_ref="false" />
1023 </capture_profile>
1024 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_NLPI">
1025 <param sample_rate="16000" />
1026 <param channels="1" />
1027 <param bit_width="16" />
1028 <param snd_name="va-mic-mono" />
1029 <param ec_ref="false" />
1030 </capture_profile>
1031 <capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_LPI">
1032 <param sample_rate="16000" />
1033 <param channels="2" />
1034 <param bit_width="16" />
1035 <param snd_name="va-mic-dmic-lpi" />
1036 <param ec_ref="false" />
1037 </capture_profile>
1038 <capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_NLPI">
1039 <param sample_rate="16000" />
1040 <param channels="2" />
1041 <param bit_width="16" />
1042 <param snd_name="va-mic-dmic" />
1043 <param ec_ref="false" />
1044 </capture_profile>
1045 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFNS">
1046 <param sample_rate="16000" />
1047 <param channels="1" />
1048 <param bit_width="16" />
1049 <param snd_name="va-mic-mono-lpi" />
1050 <param ec_ref="false" />
1051 </capture_profile>
1052 <capture_profile name="DUAL_MIC_16KHZ_16BIT_FFNS">
1053 <param sample_rate="16000" />
1054 <param channels="2" />
1055 <param bit_width="16" />
1056 <param snd_name="va-mic-dmic-lpi" />
1057 <param ec_ref="false" />
1058 </capture_profile>
1059 <capture_profile name="TRI_MIC_16KHZ_16BIT_FFNS">
1060 <param sample_rate="16000" />
1061 <param channels="3" />
1062 <param bit_width="16" />
1063 <param snd_name="va-mic-tmic-lpi" />
1064 <param ec_ref="false" />
1065 </capture_profile>
1066 <capture_profile name="QUAD_MIC_16KHZ_16BIT_FFNS">
1067 <param sample_rate="16000" />
1068 <param channels="4" />
1069 <param bit_width="16" />
1070 <param snd_name="va-mic-qmic-lpi" />
1071 <param ec_ref="false" />
1072 </capture_profile>
1073 <capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFECNS">
1074 <param sample_rate="16000" />
1075 <param channels="1" />
1076 <param bit_width="16" />
1077 <param snd_name="va-mic-mono" />
1078 <param ec_ref="true" />
1079 </capture_profile>
1080 <capture_profile name="DUAL_MIC_16KHZ_16BIT_FFECNS">
1081 <param sample_rate="16000" />
1082 <param channels="2" />
1083 <param bit_width="16" />
1084 <param snd_name="va-mic-dmic" />
1085 <param ec_ref="true" />
1086 </capture_profile>
1087 <capture_profile name="TRI_MIC_16KHZ_16BIT_FFECNS">
1088 <param sample_rate="16000" />
1089 <param channels="3" />
1090 <param bit_width="16" />
1091 <param snd_name="va-mic-tmic" />
1092 <param ec_ref="true" />
1093 </capture_profile>
1094 <capture_profile name="QUAD_MIC_16KHZ_16BIT_FFECNS">
1095 <param sample_rate="16000" />
1096 <param channels="4" />
1097 <param bit_width="16" />
1098 <param snd_name="va-mic-qmic" />
1099 <param ec_ref="true" />
1100 </capture_profile>
1101 </capture_profile_list>
1102 <!-- Multiple sound_model_config tags can be listed, each with unique -->
1103 <!-- vendor_uuid. The below tag represents QTI SVA sound model -->
1104 <!-- configuration. ISV must use their own unique vendor_uuid. -->
1105 <!-- QTI SVA -->
1106 <sound_model_config>
1107 <param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b"/>
1108 <!-- durations in us -->
1109 <param kw_start_tolerance="360000" />
1110 <param kw_end_tolerance="240000" />
1111 <param data_before_kw_start="360000" />
1112 <param data_after_kw_end="480000" />
1113 <param merge_first_stage_sound_models="false"/>
1114 <!-- Profile specific data which the algorithm can support -->
1115 <param sample_rate="16000" />
1116 <param bit_width="16" />
1117 <param out_channels="1"/> <!-- Module output channels -->
1118 <param capture_keyword="2000" /> <!-- Default history buffer length -->
1119 <param client_capture_read_delay="2000" /> <!-- reserved buffer duration for rt data -->
1120 <param pre_roll_duration="500" /> <!-- Default preroll duration -->
1121 <operating_modes>
1122 <low_power capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFNS"/>
1123 <high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
1124 <high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
1125 </operating_modes>
1126 <arm_ss_usecase>
1127 <!-- Options are "KEYWORD_DETECTION", "USER_VERIFICATION", "CUSTOM_DETECTION" -->
1128 <param sm_detection_type= "KEYWORD_DETECTION" />
1129 <param sm_id="0x2" />
1130 <param module_lib="libcapiv2svacnnvendor.so"/>
1131 <param sample_rate="16000"/>
1132 <param bit_width="16"/>
1133 <param channel_count="1"/>
1134 </arm_ss_usecase>
1135 <arm_ss_usecase>
1136 <param sm_detection_type= "USER_VERIFICATION" />
1137 <param sm_id="0x4" />
1138 <param module_lib="libcapiv2uvvendor.so"/>
1139 <param sample_rate="16000"/>
1140 <param bit_width="16"/>
1141 <param channel_count="1"/>
1142 </arm_ss_usecase>
1143 <arm_ss_usecase>
1144 <param sm_detection_type= "KEYWORD_DETECTION" />
1145 <param sm_id="0x8" />
1146 <param module_lib="libcapiv2svarnnvendor.so"/>
1147 <param sample_rate="16000"/>
1148 <param bit_width="16"/>
1149 <param channel_count="1"/>
1150 </arm_ss_usecase>
1151 <module_params>
1152 <param module_type="GMM" />
1153 <param load_sound_model_ids="0xC0000008, 0x0800104C" />
1154 <param wakeup_config_ids="0xC0000008, 0x08001049" />
1155 <param buffering_config_ids="0xC0000008, 0x08001044" />
1156 <param engine_reset_ids="0xC0000008, 0x08001051" />
1157 </module_params>
1158 <module_params>
1159 <param module_type="PDK" />
1160 <param load_sound_model_ids="0xC0000008, 0x0800124E"/>
1161 <param unload_sound_model_ids="0xC0000008, 0x08001250"/>
1162 <param wakeup_config_ids="0xC0000008, 0x08001049" />
1163 <param buffering_config_ids="0xC0000008, 0x0800124F"/>
1164 <param engine_reset_ids="0xC0000008, 0x08001051" />
1165 </module_params>
1166 </sound_model_config>
1167 <!-- Hotword -->
1168 <sound_model_config>
1169 <param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15"/>
1170 <param get_module_version="false" />
1171 <param kw_start_tolerance="100" />
1172 <param kw_end_tolerance="100" />
1173 <param merge_first_stage_sound_models="false"/>
1174 <param capture_keyword="2000" />
1175 <param client_capture_read_delay="2000" />
1176 <!-- Profile specific data which the algorithm can support -->
1177 <param sample_rate="16000" />
1178 <param bit_width="16" />
1179 <param out_channels="1"/> <!-- Module output channels -->
1180 <param capture_keyword="2000" />
1181 <param client_capture_read_delay="2000" />
1182 <operating_modes>
Arian031a9482025-04-11 18:58:55 +02001183 <low_power capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_RAW_LPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI"/>
1184 <high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI"/>
1185 <high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI"/>
ParsaAslaniYCa0aa8402025-10-23 11:57:48 +00001186 </operating_modes>
1187 <module_params>
1188 <param module_type="HOTWORD" />
1189 <param load_sound_model_ids="0xC0000008, 0x0800104C" />
1190 <param unload_sound_model_ids="0xC0000008, 0x00012C15" />
1191 <param buffering_config_ids="0xC0000008, 0x08001044" />
1192 <param version_ids="0xC0000008, 0x18000101" />
1193 <param engine_reset_ids="0xC0000008, 0x08001051" />
1194 </module_params>
1195 </sound_model_config>
1196 </sound_trigger_platform_info>
1197</resource_manager_info>