commit | 7cc901bee38f5a5ab6ff46ed8aeebe7c94cc6d87 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Tue Nov 05 10:28:31 2013 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Nov 05 10:28:30 2013 -0800 |
tree | c91bc4ebee8d1d344ddbc24dfd968cd11af4ec25 | |
parent | 065f1bea5d92f02f45920006342a79fd857bc6eb [diff] | |
parent | e0b186f934e4acb8e51b5495b0b0ca7caf5803ba [diff] |
Merge "hal: Fix for no audio recorded during voice downlink record with mic muted"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 28035d3..c00b067 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -1779,7 +1779,7 @@ * Instead of writing zeroes here, we could trust the hardware * to always provide zeroes when muted. */ - if (ret == 0 && voice_get_mic_mute(adev)) + if (ret == 0 && voice_get_mic_mute(adev) && !voice_is_in_call(adev)) memset(buffer, 0, bytes); exit: