hal: reroute playback usecases when voip output stops
Reroute the audio playback usecases when voip usecase stops.
Change-Id: I04667de27704d3c861866173c69e290f86e46372
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 92cc047..6a0c602 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -4186,7 +4186,7 @@
struct audio_usecase *usecase;
list_for_each(node, &adev->usecase_list) {
usecase = node_to_item(node, struct audio_usecase, list);
- if (usecase->type == PCM_PLAYBACK || usecase == uc_info ||
+ if (usecase == uc_info ||
(usecase->type == PCM_CAPTURE &&
usecase->id != USECASE_AUDIO_RECORD_VOIP &&
usecase->id != USECASE_AUDIO_RECORD_VOIP_LOW_LATENCY))