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

Commit e8ce99f1 authored by Kumar Anurag Singh's avatar Kumar Anurag Singh Committed by Gerrit - the friendly Code Review server
Browse files

hal: reroute playback usecases when voip output stops

Reroute the audio playback usecases when voip usecase stops.

Change-Id: I04667de27704d3c861866173c69e290f86e46372
parent c55b3f3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4186,7 +4186,7 @@ static int stop_output_stream(struct stream_out *out)
        struct audio_usecase *usecase;
        list_for_each(node, &adev->usecase_list) {
            usecase = node_to_item(node, struct audio_usecase, list);
            if (usecase->type == PCM_PLAYBACK || usecase == uc_info ||
            if (usecase == uc_info ||
                (usecase->type == PCM_CAPTURE &&
                     usecase->id != USECASE_AUDIO_RECORD_VOIP &&
                          usecase->id != USECASE_AUDIO_RECORD_VOIP_LOW_LATENCY))