summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAbhijit Adsule <abhijit@motorola.com>2015-05-19 02:44:26 -0500
committerChris Elliott <chriselliott@google.com>2015-12-01 11:27:40 -0800
commit6ff83ab9dd38bdefc5d252325f0cfbd3f1754d78 (patch)
tree0b1a746ceca1947e9fcd1e272bbbe541470dccbb /include
parentbedd6143818b91e47b44e4fe67835594d10b62e1 (diff)
downloadandroid_system_bt-6ff83ab9dd38bdefc5d252325f0cfbd3f1754d78.tar.gz
android_system_bt-6ff83ab9dd38bdefc5d252325f0cfbd3f1754d78.tar.bz2
android_system_bt-6ff83ab9dd38bdefc5d252325f0cfbd3f1754d78.zip
A2DP SRC offload support
bluedroid changes to support A2DP SRC offload to BT FW. add functionality to relay a2dp offload requests and responses between AudioHAL & the BT vendor library. Change-Id: Ie4e5992c48e95b0efb372a405e8537e4fd3ea071 Signed-off-by: Sridhar Vashist <svashist@motorola.com> Conflicts: audio_a2dp_hw/audio_a2dp_hw.h bta/Android.mk bta/av/bta_av_aact.c btif/include/btif_media.h btif/src/btif_av.c btif/src/btif_media_task.c hci/Android.mk hci/src/vendor.c include/bt_target.h stack/include/l2c_api.h
Diffstat (limited to 'include')
-rw-r--r--include/bt_target.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/bt_target.h b/include/bt_target.h
index f712d2c1a..f78c9517d 100644
--- a/include/bt_target.h
+++ b/include/bt_target.h
@@ -140,6 +140,18 @@
#define BTA_AV_CO_CP_SCMS_T FALSE
#endif
+#ifndef BTIF_A2DP_SRC_SAMPLING_RATE
+#define BTIF_A2DP_SRC_SAMPLING_RATE 44100
+#endif
+
+#ifndef BTIF_A2DP_SRC_BIT_DEPTH
+#define BTIF_A2DP_SRC_BIT_DEPTH 16
+#endif
+
+#ifndef BTIF_A2DP_SRC_NUM_CHANNELS
+#define BTIF_A2DP_SRC_NUM_CHANNELS 2
+#endif
+
/* This feature is used to eanble interleaved scan*/
#ifndef BTA_HOST_INTERLEAVE_SEARCH
#define BTA_HOST_INTERLEAVE_SEARCH FALSE