diff options
| -rw-r--r-- | post_proc/bass_boost.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/post_proc/bass_boost.c b/post_proc/bass_boost.c index 1ce1c215..132fe08e 100644 --- a/post_proc/bass_boost.c +++ b/post_proc/bass_boost.c @@ -203,6 +203,7 @@ int bass_set_device(effect_context_t *context, uint32_t device) 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_USB_HEADSET || device == AUDIO_DEVICE_OUT_BLUETOOTH_A2DP || device == AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES) { ALOGV("%s: set BB mode, device: %x", __func__, device); @@ -346,6 +347,7 @@ int bassboost_set_device(effect_context_t *context, uint32_t device) bass_ctxt->device = device; if (device == AUDIO_DEVICE_OUT_WIRED_HEADSET || device == AUDIO_DEVICE_OUT_WIRED_HEADPHONE || + device == AUDIO_DEVICE_OUT_USB_HEADSET || device == AUDIO_DEVICE_OUT_BLUETOOTH_A2DP || device == AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES) { if (bass_ctxt->temp_disabled) { |
