summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
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