OSDN Git Service

Calculate A2DP frames to send based on elapsed time
authorAndre Eisenbach <eisenbach@google.com>
Fri, 11 Jul 2014 23:57:24 +0000 (16:57 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Sat, 12 Jul 2014 00:10:56 +0000 (17:10 -0700)
commitf13db8a534adf5281ee915c4b73b3141957ed17b
tree712dc415d6b19d163a85d4a4a79b5787a9e5c5ee
parentb1c8fccbca8573555d6db07a2e44685f335800aa
Calculate A2DP frames to send based on elapsed time

This patch is aimed at improving A2DP audio quality by sending the
correct number of frames based on the actual time elapes between "ticks"
in order to account for timer drift.

Change-Id: If5b7cde90f5eb10b926ad247f51cff0eb60bbff7
btif/src/btif_media_task.c
utils/src/bt_utils.c