sm6250-common: audio: do not use direct flag for voip rx output

Dedicated output profile for VoIP should not be a direct output as
it prevents from playing two audio tracks simultaneously which breaks
call signalling played on top of Rx call audio.

Bug: 64392515
Test: Fi call, Duo Calls
Change-Id: I4e62ba3be3da079ff32be9b92d5d5fa28e0f5e2b
[dereference23: Apply the change to audio_io_policy.conf as well]
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
This commit is contained in:
Eric Laurent 2021-09-21 20:21:34 +02:00 committed by Alexander Winkowski
parent a99d14b726
commit 198163984b
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ outputs {
app_type 69943 app_type 69943
} }
voip_rx { voip_rx {
flags AUDIO_OUTPUT_FLAG_VOIP_RX|AUDIO_OUTPUT_FLAG_DIRECT flags AUDIO_OUTPUT_FLAG_VOIP_RX
formats AUDIO_FORMAT_PCM_16_BIT formats AUDIO_FORMAT_PCM_16_BIT
sampling_rates 8000|16000|32000|48000 sampling_rates 8000|16000|32000|48000
bit_width 16 bit_width 16

View File

@ -60,9 +60,9 @@
<defaultOutputDevice>Speaker</defaultOutputDevice> <defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts> <mixPorts>
<mixPort name="voip_rx" role="source" <mixPort name="voip_rx" role="source"
flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX"> flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT" <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/> samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort> </mixPort>
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_PRIMARY"> <mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_PRIMARY">
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED" <profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"