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

Commit 5a551193 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: fix BT device switch issue for audio playback during VoIP call"

parents 6b75dd74 c17cab64
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -637,7 +637,8 @@ int select_devices(struct audio_device *adev, audio_usecase_t uc_id)
            }
            }
        } else if (voice_extn_compress_voip_is_active(adev)) {
        } else if (voice_extn_compress_voip_is_active(adev)) {
            voip_usecase = get_usecase_from_list(adev, USECASE_COMPRESS_VOIP_CALL);
            voip_usecase = get_usecase_from_list(adev, USECASE_COMPRESS_VOIP_CALL);
            if (voip_usecase->devices & AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND) {
            if ((voip_usecase->devices & AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND) &&
                (usecase->devices & AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND)) {
                    in_snd_device = voip_usecase->in_snd_device;
                    in_snd_device = voip_usecase->in_snd_device;
                    out_snd_device = voip_usecase->out_snd_device;
                    out_snd_device = voip_usecase->out_snd_device;
            }
            }