audio: configs: Support compress record usecase

Add changes to support compress record usecase for
tasha external codec.

Change-Id: Id1efa101020b8ec980e107bf192223b41b7ea29a
This commit is contained in:
Sachin Mohan Gadag 2018-04-04 16:28:37 +05:30
parent f156520b50
commit 82283a4bb5
2 changed files with 31 additions and 6 deletions

View File

@ -88,7 +88,7 @@
<usecase name="USECASE_AUDIO_PLAYBACK_FM" type="out" id="5"/>
<usecase name="USECASE_AUDIO_PLAYBACK_FM" type="in" id="34"/>
<usecase name="USECASE_AUDIO_SPKR_CALIB_RX" type="out" id="5"/>
<usecase name="USECASE_AUDIO_SPKR_CALIB_TX" type="in" id="37"/>
<usecase name="USECASE_AUDIO_SPKR_CALIB_TX" type="in" id="42"/>
<usecase name="USECASE_AUDIO_PLAYBACK_AFE_PROXY" type="out" id="6"/>
<usecase name="USECASE_AUDIO_RECORD_AFE_PROXY" type="in" id="7"/>
<usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="17" />
@ -100,11 +100,11 @@
<usecase name="USECASE_AUDIO_HFP_SCO_WB" type="in" id="35" />
<usecase name="USECASE_AUDIO_PLAYBACK_VOIP" type="out" id="16" />
<usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="16" />
<usecase name="USECASE_AUDIO_RECORD_COMPRESS2" type="in" id="40"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS3" type="in" id="41"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS4" type="in" id="42"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS5" type="in" id="43"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS6" type="in" id="44"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS2" type="in" id="37"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS3" type="in" id="38"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS4" type="in" id="39"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS5" type="in" id="40"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS6" type="in" id="41"/>
</pcm_ids>
<config_params>
<param key="spkr_1_tz_name" value="wsatz.13"/>

View File

@ -541,6 +541,11 @@
<!-- vbat related data end-->
<!-- audio record compress-->
<ctl name="MultiMedia8 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia17 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia18 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia19 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia28 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia29 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia8 Mixer SLIM_7_TX" value="0" />
<ctl name="MultiMedia8 Mixer AFE_PCM_TX" value="0" />
<!-- audio record compress end-->
@ -1461,6 +1466,26 @@
<ctl name="MultiMedia8 Mixer SLIM_0_TX" value="1" />
</path>
<path name="audio-record-compress2">
<ctl name="MultiMedia17 Mixer SLIM_0_TX" value="1" />
</path>
<path name="audio-record-compress3">
<ctl name="MultiMedia18 Mixer SLIM_0_TX" value="1" />
</path>
<path name="audio-record-compress4">
<ctl name="MultiMedia19 Mixer SLIM_0_TX" value="1" />
</path>
<path name="audio-record-compress5">
<ctl name="MultiMedia28 Mixer SLIM_0_TX" value="1" />
</path>
<path name="audio-record-compress6">
<ctl name="MultiMedia29 Mixer SLIM_0_TX" value="1" />
</path>
<path name="audio-record-compress bt-sco">
<ctl name="MultiMedia8 Mixer SLIM_7_TX" value="1" />
</path>