mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-06 22:07:17 +09:00
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:
parent
f7b5a79d5c
commit
6291e7aa67
@ -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
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user