vermeer: audio: Use dual-mic config as default for voice input

The stock audio HAL hardcodes this config for voice usecases. Instead,
use the config values' in the base usecase.

Change-Id: I366000e58f476e7c840e9c4463f04a617ae2cbc2
This commit is contained in:
danielml
2024-09-23 21:28:56 +02:00
committed by Lunark :3
parent 696c9ff8da
commit 1224cee483

View File

@@ -238,10 +238,10 @@
<name>PAL_STREAM_VOIP_TX</name>
<priority>2</priority>
<ec_enable>1</ec_enable>
<custom-config key="dual-mic">
<channels>2</channels>
<samplerate>48000</samplerate>
<snd_device_name>handset-dmic-endfire</snd_device_name>
<custom-config key="dual-mic">
</custom-config>
</usecase>
<usecase>
@@ -250,9 +250,9 @@
<sidetone_mode>HW</sidetone_mode>
<bit_width>16</bit_width>
<ec_enable>1</ec_enable>
<custom-config key="dual-mic">
<channels>2</channels>
<snd_device_name>handset-dmic-endfire</snd_device_name>
<custom-config key="dual-mic">
</custom-config>
<custom-config key="quad-mic">
<channels>4</channels>
@@ -376,9 +376,9 @@
<sidetone_mode>OFF</sidetone_mode>
<bit_width>16</bit_width>
<ec_enable>1</ec_enable>
<custom-config key="dual-mic">
<channels>2</channels>
<snd_device_name>speaker-dmic-endfire</snd_device_name>
<custom-config key="dual-mic">
</custom-config>
<custom-config key="quad-mic">
<channels>4</channels>