[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master
am: 95b26a721f -s ours
am skip reason: subject contains skip directive
Change-Id: Ie5169bf6155d0bdf9f6cc9205fa8a20996c3d12c
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 4bff28c..731f444 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -1500,7 +1500,7 @@
voice_set_sidetone(adev, out_snd_device, true);
}
- if (usecase == voip_usecase) {
+ if (usecase->type != PCM_CAPTURE && voip_usecase) {
struct stream_out *voip_out = voip_usecase->stream.out;
audio_extn_utils_send_app_type_gain(adev,
voip_out->app_type_cfg.app_type,