From 27868bbc6230d357fda189a1c63cf6fcc59bb629 Mon Sep 17 00:00:00 2001 From: Nick Pelly Date: Thu, 11 Mar 2010 15:35:41 -0800 Subject: [PATCH] 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 --- common/android_bluez.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/android_bluez.c b/common/android_bluez.c index 3f33332d..be855633 100644 --- a/common/android_bluez.c +++ b/common/android_bluez.c @@ -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);