summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSunny Kapdi <sunnyk@codeaurora.org>2013-01-22 13:21:26 -0800
committerSteve Kondik <shade@chemlab.org>2013-01-28 22:37:31 -0800
commit69f86c8d0f1f2d1adfd04f94bfd4580a3bc61d4c (patch)
tree16110c3eefabc86870d88f5aa199e7a8733a75ee /main
parentb1f0fed3b40572b0ae2a2f7522e93de4190409b7 (diff)
downloadexternal_bluetooth_bluedroid-69f86c8d0f1f2d1adfd04f94bfd4580a3bc61d4c.zip
external_bluetooth_bluedroid-69f86c8d0f1f2d1adfd04f94bfd4580a3bc61d4c.tar.gz
external_bluetooth_bluedroid-69f86c8d0f1f2d1adfd04f94bfd4580a3bc61d4c.tar.bz2
Bluetooth: Change Sampling Frequency to 48 kHz
Change Default Sampling Frequency to 48 kHz by default to match Audio Source. CRs-fixed: 436686 Change-Id: I0a4aa9ca61964e76220c77fa60c281f7a5df58b4
Diffstat (limited to 'main')
-rw-r--r--main/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/Android.mk b/main/Android.mk
index 8ecb3c3..23a9783 100644
--- a/main/Android.mk
+++ b/main/Android.mk
@@ -6,6 +6,12 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
+ifeq ($(BOARD_USES_ALSA_AUDIO),true)
+ifeq ($(TARGET_QCOM_AUDIO_VARIANT),caf)
+ LOCAL_CFLAGS += -DSAMPLE_RATE_48K
+endif
+endif
+
# HAL layer
LOCAL_SRC_FILES:= \
../btif/src/bluetooth.c