Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7fc9480 authored by Lakshman Chaluvaraju's avatar Lakshman Chaluvaraju
Browse files

HAL: Enable Stereo channel support for voip over audio path

Add changes to support stereo channel configuration
for voip over audio path.

Change-Id: I882d5d93751969849192049303f663a4940cd6d4
parent 050d9ccc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7765,7 +7765,7 @@ int adev_open_output_stream(struct audio_hw_device *dev,
            if (out->sample_rate == 8000 || out->sample_rate == 16000 ||
             out->sample_rate == 32000 || out->sample_rate == 48000) {
                out->channel_mask = audio_extn_utils_is_vendor_enhanced_fwk() ?
                                        AUDIO_CHANNEL_OUT_MONO : AUDIO_CHANNEL_OUT_STEREO;
                                        config->channel_mask : AUDIO_CHANNEL_OUT_STEREO;
                out->usecase = USECASE_AUDIO_PLAYBACK_VOIP;
                out->format = AUDIO_FORMAT_PCM_16_BIT;
                out->volume_l = INVALID_OUT_VOLUME;