From d4cfae4991ee5f1d0f56900e6dc39097f9413202 Mon Sep 17 00:00:00 2001 From: Matthew Xie Date: Sat, 13 Oct 2012 18:13:40 -0700 Subject: 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 --- btif/src/btif_media_task.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'btif') 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; -- cgit v1.1