diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-07-29 15:15:46 +0200 |
---|---|---|
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-07-29 15:15:46 +0200 |
commit | d3287cfad7ddb2a6f18a704db69ca3cd927768eb (patch) | |
tree | 5cbec70a11b436cd3e26cfc0a6b5bfd0ef6d1086 /audio/audio_hw.c | |
parent | 6d6f5da4b94e25155c712fa95e68a275636bad2e (diff) | |
download | device_samsung_i9300-d3287cfad7ddb2a6f18a704db69ca3cd927768eb.zip device_samsung_i9300-d3287cfad7ddb2a6f18a704db69ca3cd927768eb.tar.gz device_samsung_i9300-d3287cfad7ddb2a6f18a704db69ca3cd927768eb.tar.bz2 |
audio: reset mixer states when bluetooth was in use for incall
Change-Id: Idb09b68b2405b68dde253eecc37d5c03b69d6ff1
Diffstat (limited to 'audio/audio_hw.c')
-rwxr-xr-x | audio/audio_hw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 9d9342d..55f497e 100755 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -612,7 +612,11 @@ static void select_output_device(struct m0_audio_device *adev) set_bigroute_by_array(adev->mixer, bt_input, 1); LOGD("%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); } LOGD("%s: X", __func__); |