diff options
Diffstat (limited to 'audio/audio_hw.c')
-rw-r--r-- | audio/audio_hw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 354aef0..e957458 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -2605,6 +2605,9 @@ static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) { struct m0_audio_device *adev = (struct m0_audio_device *)dev; + if (adev->mode == AUDIO_MODE_IN_CALL) + ril_set_mic_mute(&adev->ril, state); + adev->mic_mute = state; return 0; |