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

* Causes crackling sound for notifications.

This reverts commit 198163984bb6e2f2301d85e35e627f43db95c832.

Change-Id: Ic0440713f1bd938cd97f127248227ec677c7dbe6
This commit is contained in:
Alexander Winkowski 2021-09-29 18:10:26 +02:00
parent f7b5a79d5c
commit 6291e7aa67
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 flags AUDIO_OUTPUT_FLAG_VOIP_RX|AUDIO_OUTPUT_FLAG_DIRECT
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_VOIP_RX"> flags="AUDIO_OUTPUT_FLAG_DIRECT|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_STEREO"/> samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
</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"