diff options
author | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-04-15 19:30:57 +0200 |
---|---|---|
committer | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-04-15 19:30:57 +0200 |
commit | 27e291e77bdf4229c4c24225516a28a6b44de8c4 (patch) | |
tree | ce2e0e8471535868f618ed5feef4679dd09fca84 /audio/audio_hw.c | |
parent | a5f9f3650d8156d3e96a88a280d07b266a04384d (diff) | |
download | device_samsung_espressowifi-27e291e77bdf4229c4c24225516a28a6b44de8c4.zip device_samsung_espressowifi-27e291e77bdf4229c4c24225516a28a6b44de8c4.tar.gz device_samsung_espressowifi-27e291e77bdf4229c4c24225516a28a6b44de8c4.tar.bz2 |
p3100: refine incall bluetooth audio
Change-Id: I35e39c4603e2504f6651843300ba3eff40ceee98
Diffstat (limited to 'audio/audio_hw.c')
-rwxr-xr-x | audio/audio_hw.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 2fcd739..3890f42 100755 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -707,6 +707,11 @@ static void select_output_device(struct espresso_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_input_disable", __func__); + set_bigroute_by_array(adev->mixer, bt_input_disable, 1); + ALOGD("%s: set voicecall route: bt_output_disable", __func__); + set_bigroute_by_array(adev->mixer, bt_output_disable, 1); } set_incall_device(adev); } |