aboutsummaryrefslogtreecommitdiffstats
path: root/audio/audio_hw.c
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-07-14 20:51:18 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-07-14 20:51:18 +0200
commit16ed4da7a6d340cd2b4e43ed0dc4c64f7e4f183e (patch)
tree5f6baa0aedbc0db0ed911f1bfb032b979de9a04b /audio/audio_hw.c
parentea93eb886b7b8c02d187331ace5bd48b69b59e0c (diff)
downloaddevice_samsung_kona-common-3db3668d9ce166f8c1e8ae07f6c5211856f5da27.tar.gz
device_samsung_kona-common-3db3668d9ce166f8c1e8ae07f6c5211856f5da27.tar.bz2
device_samsung_kona-common-3db3668d9ce166f8c1e8ae07f6c5211856f5da27.zip
adapted from n7100 audio code Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'audio/audio_hw.c')
-rwxr-xr-xaudio/audio_hw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index ea0903d..119e093 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -2649,6 +2649,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;