mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-02 20:17:16 +09:00
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:
parent
a99d14b726
commit
198163984b
@ -33,7 +33,7 @@ outputs {
|
||||
app_type 69943
|
||||
}
|
||||
voip_rx {
|
||||
flags AUDIO_OUTPUT_FLAG_VOIP_RX|AUDIO_OUTPUT_FLAG_DIRECT
|
||||
flags AUDIO_OUTPUT_FLAG_VOIP_RX
|
||||
formats AUDIO_FORMAT_PCM_16_BIT
|
||||
sampling_rates 8000|16000|32000|48000
|
||||
bit_width 16
|
||||
|
@ -60,9 +60,9 @@
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<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"
|
||||
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
||||
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_PRIMARY">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
|
||||
|
Loading…
x
Reference in New Issue
Block a user