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

Commit b000e0b2 authored by Vidyakumar Athota's avatar Vidyakumar Athota
Browse files

hal: Ensure mic mute state updated before starting voice call

Currently the mic mute state is not propagated to the DSP if
the call is already disconnected.

Change-Id: I85cc5c202aea0dc818390b49fe2a3fcd6e62973c
parent 16b2dd39
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -157,6 +157,8 @@ int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id)
    }
    ALOGD("voice_config.rate %d\n", voice_config.rate);

    voice_set_mic_mute(adev, adev->voice.mic_mute);

    ALOGV("%s: Opening PCM playback device card_id(%d) device_id(%d)",
          __func__, adev->snd_card, pcm_dev_rx_id);
    session->pcm_rx = pcm_open(adev->snd_card,