diff options
author | Steve Kondik <shade@chemlab.org> | 2013-08-10 02:09:58 -0700 |
---|---|---|
committer | Ethan Chen <intervigil@gmail.com> | 2015-11-20 09:33:12 -0800 |
commit | ba9f61a03c3e2fcf8c7075fb31b90d72468d9db2 (patch) | |
tree | e791473c8707a81ea0e378b3a0c9bd2fb988002d /main | |
parent | ba613c26ab51331a2328f6f15276f6720400200d (diff) | |
download | android_system_bt-ba9f61a03c3e2fcf8c7075fb31b90d72468d9db2.tar.gz android_system_bt-ba9f61a03c3e2fcf8c7075fb31b90d72468d9db2.tar.bz2 android_system_bt-ba9f61a03c3e2fcf8c7075fb31b90d72468d9db2.zip |
bluedroid: Remove ALSA check on sample rate setting
* All legacy QC devices using the CodeAurora drivers should be using a 48KHz
samplerate for A2DP, since that's the only supported output frequency.
Change-Id: I8cec354c5a2dde0f85f19cfee2f75501f2a2d5a3
Diffstat (limited to 'main')
-rw-r--r-- | main/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/Android.mk b/main/Android.mk index d3dcb5337..d98d2efef 100644 --- a/main/Android.mk +++ b/main/Android.mk @@ -6,6 +6,10 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) +ifeq ($(BOARD_USES_LEGACY_ALSA_AUDIO),true) + LOCAL_CFLAGS += -DSAMPLE_RATE_48K +endif + # HAL layer LOCAL_SRC_FILES:= \ ../btif/src/bluetooth.c |