sm8550-common: Bring in select pre-OOS 14 audio changes

Somehow missed during last updates from OOS 13.x.

As sidenote, all changes related to spatial output were skipped,
keeping AOSP output (and aligned with vanilla kalama config) instead
of switching to custom one.

Change-Id: I7e0864eb31ba9637af2fbd14bb55d971b7e14cd9
This commit is contained in:
Bruno Martins
2023-11-29 23:01:47 +00:00
parent 1b7fb33156
commit b1f1e181a3

View File

@@ -291,7 +291,13 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000 96000 192000"
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO AUDIO_CHANNEL_IN_FRONT_BACK AUDIO_CHANNEL_INDEX_MASK_3 AUDIO_CHANNEL_INDEX_MASK_4"/>
</mixPort>
<!-- #ifdef OPLUS_FEATURE_OCAR_AUDIO -->
<!-- zhangrun@MULTIMEDIA.AUDIODRIVER.HAL, 2022/09/06, add for support call record in ocar mode -->
<!--
<mixPort name="voice_rx" role="sink">
-->
<mixPort name="voice_rx" role="sink" maxOpenCount="2" maxActiveCount="2">
<!-- #endif OPLUS_FEATURE_OCAR_AUDIO -->
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000 16000 48000" channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>