sweet: audio: Allocate dedicated pcm node for in call recording

Allocate dedicated pcm node for in call recording, this can
avoid conflicting with generic audio recording for concurrent
recording scenarios

Change-Id: If81aa994409161c526fbbcb95dbcb0397fa9e36b
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
Shalini Manjunatha 2020-05-18 13:26:55 +05:30 committed by donjohanliebert
parent 31fd2f843f
commit 762fb799da
2 changed files with 8 additions and 4 deletions

View File

@ -65,6 +65,10 @@
<usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="16" /> <usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="16" />
<usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="in" id="12" /> <usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="in" id="12" />
<usecase name="USECASE_INCALL_MUSIC_UPLINK" type="out" id="27" /> <usecase name="USECASE_INCALL_MUSIC_UPLINK" type="out" id="27" />
<usecase name="USECASE_INCALL_MUSIC_UPLINK2" type="out" id="27" />
<usecase name="USECASE_INCALL_REC_UPLINK" type="in" id="27" />
<usecase name="USECASE_INCALL_REC_DOWNLINK" type="in" id="27" />
<usecase name="USECASE_INCALL_REC_UPLINK_AND_DOWNLINK" type="in" id="27" />
</pcm_ids> </pcm_ids>
<config_params> <config_params>
<!-- In the below value string, the value indicates default mono --> <!-- In the below value string, the value indicates default mono -->

View File

@ -234,8 +234,8 @@
<!-- RT Proxy Cal end --> <!-- RT Proxy Cal end -->
<!-- Incall Recording --> <!-- Incall Recording -->
<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="0" /> <ctl name="MultiMedia9 Mixer VOC_REC_UL" value="0" />
<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="0" /> <ctl name="MultiMedia9 Mixer VOC_REC_DL" value="0" />
<ctl name="MultiMedia8 Mixer VOC_REC_UL" value="0" /> <ctl name="MultiMedia8 Mixer VOC_REC_UL" value="0" />
<ctl name="MultiMedia8 Mixer VOC_REC_DL" value="0" /> <ctl name="MultiMedia8 Mixer VOC_REC_DL" value="0" />
<!-- Incall Recording End --> <!-- Incall Recording End -->
@ -2058,7 +2058,7 @@
</path> </path>
<path name="incall-rec-uplink"> <path name="incall-rec-uplink">
<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="1" /> <ctl name="MultiMedia9 Mixer VOC_REC_UL" value="1" />
</path> </path>
<path name="incall-rec-uplink bt-sco"> <path name="incall-rec-uplink bt-sco">
@ -2102,7 +2102,7 @@
</path> </path>
<path name="incall-rec-downlink"> <path name="incall-rec-downlink">
<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="1" /> <ctl name="MultiMedia9 Mixer VOC_REC_DL" value="1" />
</path> </path>
<path name="incall-rec-downlink bt-sco"> <path name="incall-rec-downlink bt-sco">