aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-01-04 15:20:58 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-04 15:20:58 -0800
commit6029ada2e68ef3ade41991bd6f14ef7892d83ab6 (patch)
tree6da4db89e7f1f7a14090a8c11a52e65605849d23
parentae2da65e52e1720eb385135ea35552d5b5e4d9d1 (diff)
parentcbdef4bcda666239af9a2c77fd92e42d85160c65 (diff)
downloadbluez-6029ada2e68ef3ade41991bd6f14ef7892d83ab6.tar.gz
am cbdef4bc: am 05675015: a2dp audio HAL: extend write timeout.
* commit 'cbdef4bcda666239af9a2c77fd92e42d85160c65': a2dp audio HAL: extend write timeout.
-rw-r--r--audio/android_audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/android_audio_hw.c b/audio/android_audio_hw.c
index 74e72126..f4902324 100644
--- a/audio/android_audio_hw.c
+++ b/audio/android_audio_hw.c
@@ -50,7 +50,7 @@
/* maximum time allowed by out_standby_stream_locked() for 2dp_write() to complete */
#define BUF_WRITE_COMPLETION_TIMEOUT_MS 5000
/* maximum time allowed by out_write() for frames to be available in in write thread buffer */
-#define BUF_WRITE_AVAILABILITY_TIMEOUT_MS 1000
+#define BUF_WRITE_AVAILABILITY_TIMEOUT_MS 5000
/* maximum number of attempts to wait for a write completion in out_standby_stream_locked() */
#define MAX_WRITE_COMPLETION_ATTEMPTS 5