audio: update table

- move control Mic Spatial Module Enable to code.
- add camcorder mic setting.
- move definition of Waves instance id number to code.

Bug: 206738075
Test: manual test/ host test
 vendor.google.whitechapel.audio.hal.audio.tuner_tests

Change-Id: I795402e8c460b01a148ba9e3b032143fddacd3cb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
This commit is contained in:
Jasmine Cha 2023-04-14 14:13:25 +08:00
parent a834cefdf1
commit 1c6bf15dfd
2 changed files with 15 additions and 6 deletions

View file

@ -63,9 +63,8 @@
<!-- The tuner_builder: format is "type="x" codec_name="y" argu="z". argu is optional. -->
<tuner_builder>
<tuner type="playback" name="waves" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN" />
<tuner type="telephony" name="fortemedia"
argu="VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000 BOOST_USB_SWB_CLK=y" />
<tuner type="playback" name="waves" argu="Sink=SPK ThermistorsName=VIRTUAL-SKIN" />
<tuner type="telephony" name="fortemedia" argu="VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000 BOOST_USB_SWB_CLK=y CCA=y" />
<tuner type="capture" name="gs_capture" />
</tuner_builder>
</audio_platform_configuration>

View file

@ -254,7 +254,6 @@
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" />
<ctl name="Voice Call Mic Source" value="Builtin_MIC" />
<ctl name="Mic Spatial Module Enable" value="0" />
<ctl name="Audio Capture Eraser Enable" value="0" />
<!-- audio PDM mic default state -->
@ -738,7 +737,6 @@
</path>
<path name="back-microphones">
<ctl name="Mic Spatial Module Enable" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
@ -757,8 +755,20 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="microphones (CAMCORDER)">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
<ctl name="MIC DC Blocker" value="1"/>
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
</path>
<path name="back-microphones (CAMCORDER)">
<path name="microphones (CAMCORDER)" />
</path>
<path name="camcorder-mic">
<ctl name="Mic Spatial Module Enable" value="1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />