sm7250-common: Set correct pulse-code modulation format for primary output

OnePlus had made the corresponding change in the IO policy config
but however it seems that policy side configuration was left as is
due to which format routing to device was broken as the IO policy
specificed a 24bit PCM format for primary audio meanwhile the policy
config marked 16bit PCM as the format.

Signed-off-by: KakatkarAkshay <akshayakakatkaraa@gmail.com>
This commit is contained in:
Daniel Jacob Chittoor
2021-07-31 17:23:22 +02:00
committed by KakatkarAkshay
parent 7427e26e20
commit 5bf3e75c4d

View File

@@ -60,7 +60,7 @@
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_PRIMARY">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
<profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="raw" role="source"