Loading hal/audio_hw.c +2 −1 Original line number Diff line number Diff line Loading @@ -2202,7 +2202,8 @@ static ssize_t in_read(struct audio_stream_in *stream, void *buffer, * Instead of writing zeroes here, we could trust the hardware * to always provide zeroes when muted. */ if (ret == 0 && voice_get_mic_mute(adev) && !voice_is_in_call_rec_stream(in)) if (ret == 0 && voice_get_mic_mute(adev) && !voice_is_in_call_rec_stream(in) && in->usecase != USECASE_AUDIO_RECORD_AFE_PROXY) memset(buffer, 0, bytes); exit: Loading Loading
hal/audio_hw.c +2 −1 Original line number Diff line number Diff line Loading @@ -2202,7 +2202,8 @@ static ssize_t in_read(struct audio_stream_in *stream, void *buffer, * Instead of writing zeroes here, we could trust the hardware * to always provide zeroes when muted. */ if (ret == 0 && voice_get_mic_mute(adev) && !voice_is_in_call_rec_stream(in)) if (ret == 0 && voice_get_mic_mute(adev) && !voice_is_in_call_rec_stream(in) && in->usecase != USECASE_AUDIO_RECORD_AFE_PROXY) memset(buffer, 0, bytes); exit: Loading