audio: fix static noise on speaker path when enable incall-music

Bug: 111107345
Test: manual audio test

Change-Id: I8da727326b0d5dd1d89623dae55e33f2b39830df
Signed-off-by: juyuchen <juyuchen@google.com>
Signed-off-by: David Lin <dtwlin@google.com>
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index fb15db5..9559573 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -1373,6 +1373,10 @@
             out_snd_device = SND_DEVICE_OUT_SPEAKER;
     }
 
+    if (usecase->id == USECASE_INCALL_MUSIC_UPLINK) {
+        out_snd_device = SND_DEVICE_OUT_VOICE_MUSIC_TX;
+    }
+
     if (out_snd_device != SND_DEVICE_NONE &&
             out_snd_device != adev->last_logged_snd_device[uc_id][0]) {
         ALOGD("%s: changing use case %s output device from(%d: %s, acdb %d) to (%d: %s, acdb %d)",