summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brehm <djp952@gmail.com>2013-02-28 23:52:49 -0500
committerBrint E. Kriebel <bkriebel@vmware.com>2013-03-04 18:38:51 -0700
commitce6c2405a9272656285019754fd4d4ac223b92bd (patch)
tree27fc882255fc8dfff73c9d3e53dee29aab53cfd8
parent5ae3694ab8f2913cb42f0046ab7f436aa3d45223 (diff)
downloadexternal_bluetooth_bluedroid-ce6c2405a9272656285019754fd4d4ac223b92bd.zip
external_bluetooth_bluedroid-ce6c2405a9272656285019754fd4d4ac223b92bd.tar.gz
external_bluetooth_bluedroid-ce6c2405a9272656285019754fd4d4ac223b92bd.tar.bz2
a2dp: Set the default A2DP bitrate to high quality
Allows bluedroid to calculate the proper A2DP bitpool size. This resolves the main A2DP audio quality issues with Android 4.2, but does not address the difference in audio output gain/volume as compared with Android 4.1. Setting the output volume level to approximately 80% in conjunction with this change seems to result in comparable audio quality Change-Id: Ic05c3278ebe9288d00926fab8b7c1a646fd861cd
-rwxr-xr-xbtif/src/btif_media_task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/btif/src/btif_media_task.c b/btif/src/btif_media_task.c
index bda0d9f..09f30ff 100755
--- a/btif/src/btif_media_task.c
+++ b/btif/src/btif_media_task.c
@@ -154,8 +154,8 @@ enum {
#define BTIF_MEDIA_BITRATE_STEP 5
#endif
-/* Middle quality quality setting @ 44.1 khz */
-#define DEFAULT_SBC_BITRATE 229
+/* High quality setting @ 44.1 khz */
+#define DEFAULT_SBC_BITRATE 328
#ifndef A2DP_MEDIA_TASK_STACK_SIZE
#define A2DP_MEDIA_TASK_STACK_SIZE 0x2000 /* In bytes */