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

Commit f6482a58 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 no sound issue in voice call" into av-userspace.lnx.2.0-dev

parents 5016005b 0f7d0a9e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -132,6 +132,9 @@ int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id)

    session->state.current = CALL_INACTIVE;

    if (!voice_is_call_state_active(adev))
        adev->voice.in_call = false;

    /* Disable sidetone only when no calls are active */
    if (!voice_is_call_state_active(adev))
        voice_set_sidetone(adev, uc_info->out_snd_device, false);