From 35c6591185b6ec102af73916cf9939f6500c8cc5 Mon Sep 17 00:00:00 2001 From: Dheeraj CVR Date: Wed, 11 Feb 2015 10:52:07 +0530 Subject: audio: forward call mute to RIL client interface Change-Id: Iccb763b48a687b88692c84976a7cddf72031b5be --- audio/audio_hw.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'audio/audio_hw.c') 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; -- cgit v1.1