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

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

Merge "hal: Update active input stream when voip input is closed"

parents 1dcb8d7f 90fc6dd2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -446,6 +446,8 @@ int enable_audio_route(struct audio_device *adev,
struct audio_usecase *get_usecase_from_list(const struct audio_device *adev,
                                                   audio_usecase_t uc_id);

struct stream_in *get_next_active_input(const struct audio_device *adev);

bool is_offload_usecase(audio_usecase_t uc_id);

bool audio_is_true_native_stream_active(struct audio_device *adev);
+1 −1
Original line number Diff line number Diff line
@@ -631,9 +631,9 @@ int voice_extn_compress_voip_close_input_stream(struct audio_stream *stream)
    ALOGD("%s: enter", __func__);

    if(voip_data.in_stream_count > 0) {
       adev->active_input = NULL;
       voip_data.in_stream_count--;
       status = voip_stop_call(adev);
       adev->active_input = get_next_active_input(adev);
       in->pcm = NULL;
    }