post_proc: include BT A2DP headset for BassBoost effect
am: e893a520dd
* commit 'e893a520dd48620088573687f6dd5b65cc57aab0':
post_proc: include BT A2DP headset for BassBoost effect
diff --git a/msm8909/post_proc/bass_boost.c b/msm8909/post_proc/bass_boost.c
index 5266d86..76755da 100644
--- a/msm8909/post_proc/bass_boost.c
+++ b/msm8909/post_proc/bass_boost.c
@@ -176,6 +176,7 @@
ALOGV("%s: set PBE mode, device: %x", __func__, device);
} else if (device == AUDIO_DEVICE_OUT_WIRED_HEADSET ||
device == AUDIO_DEVICE_OUT_WIRED_HEADPHONE ||
+ device == AUDIO_DEVICE_OUT_BLUETOOTH_A2DP ||
device == AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES) {
ALOGV("%s: set BB mode, device: %x", __func__, device);
bass_ctxt->active_index = BASS_BOOST;
@@ -302,6 +303,7 @@
bass_ctxt->device = device;
if (device == AUDIO_DEVICE_OUT_WIRED_HEADSET ||
device == AUDIO_DEVICE_OUT_WIRED_HEADPHONE ||
+ device == AUDIO_DEVICE_OUT_BLUETOOTH_A2DP ||
device == AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES) {
if (bass_ctxt->temp_disabled) {
if (effect_is_active(&bass_ctxt->common)) {