From 94e5efb63b7d4400b9cb51ffe5c4279453375b6b Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Sun, 29 Jul 2012 11:10:12 +0200 Subject: audio: reset mixer states when bluetooth was in use for incall --- audio/audio_hw.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio/audio_hw.c') diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 8c7a707..5b4736b 100755 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -623,7 +623,11 @@ static void select_output_device(struct m0_audio_device *adev) set_bigroute_by_array(adev->mixer, bt_input, 1); ALOGD("%s: set voicecall route: bt_output", __func__); set_bigroute_by_array(adev->mixer, bt_output, 1); + } else { + ALOGD("%s: set voicecall route: bt_disable", __func__); + set_bigroute_by_array(adev->mixer, bt_disable, 1); } + set_incall_device(adev); } } -- cgit v1.1