summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2012-10-13 18:13:40 -0700
committerMatthew Xie <mattx@google.com>2012-10-13 18:13:40 -0700
commitd4cfae4991ee5f1d0f56900e6dc39097f9413202 (patch)
treeea58a2fe37901e09105931138ce3219e85a5596f
parentc25367bb432d5e310c9ded312643a986e09b35de (diff)
downloadexternal_bluetooth_bluedroid-d4cfae4991ee5f1d0f56900e6dc39097f9413202.zip
external_bluetooth_bluedroid-d4cfae4991ee5f1d0f56900e6dc39097f9413202.tar.gz
external_bluetooth_bluedroid-d4cfae4991ee5f1d0f56900e6dc39097f9413202.tar.bz2
Remove frame count offset compensation code
The clock rate base for bt media encoding drifts. Compensations were added. Frame count offset compensation causes problem. On certain carkit, removing this adjustment fixes problem. I am commenting this code out as it causes problem. We think GKI timer compensations should be sufficient. bug 7302257 Change-Id: Ia25d04ce06dc2f9a7c2be33e99ecb69d5e508cdf
-rwxr-xr-xbtif/src/btif_media_task.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/btif/src/btif_media_task.c b/btif/src/btif_media_task.c
index 6847696..6975154 100755
--- a/btif/src/btif_media_task.c
+++ b/btif/src/btif_media_task.c
@@ -1964,7 +1964,8 @@ static UINT8 btif_get_num_aa_frame(void)
threshold
*/
- result += ra_adjust();
+ // TODO(BT) ra_adjust causes problem, need correction
+ // result += ra_adjust();
VERBOSE("WRITE %d FRAMES", result);
break;