aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-01-04 12:58:57 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-04 12:58:57 -0800
commitf063ba55aae83b014a5236b7879e5d6e81fc5a42 (patch)
treec72faa07736d9590cc6fdeeb218e4934dfeb2caa
parent1f055fa6a1558cceb84448f66bb37a86f5bcd2c4 (diff)
parent05675015d13729f7da5bf32c88264c68e02d6028 (diff)
downloadbluez-f063ba55aae83b014a5236b7879e5d6e81fc5a42.tar.gz
am 05675015: a2dp audio HAL: extend write timeout.
* commit '05675015d13729f7da5bf32c88264c68e02d6028': 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 52d6066a..e552f7a7 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