Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Increase A2DP flush timeout from 120ms to 200ms.
This is to reduce the chance of skipping on A2DP sinks that have buffers
larger than 120ms. Changed on advice from BCM.

Change-Id: I3d6574b30b362b43e311991eb3cc41776c5f9b52
  • Loading branch information
Nick Pelly authored and Jaikumar Ganesh committed May 25, 2011
1 parent a04c1f0 commit 27868bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/android_bluez.c
Expand Up @@ -187,7 +187,7 @@ int android_set_high_priority(bdaddr_t *ba) {
ret = vendor_high_priority(fd, acl_handle);
if (ret < 0)
goto out;
ret = write_flush_timeout(fd, acl_handle, 120);
ret = write_flush_timeout(fd, acl_handle, 200);

out:
close(fd);
Expand Down

0 comments on commit 27868bb

Please sign in to comment.