From ce6c2405a9272656285019754fd4d4ac223b92bd Mon Sep 17 00:00:00 2001 From: Michael Brehm Date: Thu, 28 Feb 2013 23:52:49 -0500 Subject: 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 --- btif/src/btif_media_task.c | 4 ++-- 1 file 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 */ -- cgit v1.1