diff options
author | Eric Laurent <elaurent@google.com> | 2012-01-04 12:58:57 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-01-04 12:58:57 -0800 |
commit | cbdef4bcda666239af9a2c77fd92e42d85160c65 (patch) | |
tree | 699be901efffaa446bb6728f18bf1f211e18661e | |
parent | 5611c7de4927835d73f132e65dd3b72f28affb8b (diff) | |
parent | 05675015d13729f7da5bf32c88264c68e02d6028 (diff) | |
download | bluez-cbdef4bcda666239af9a2c77fd92e42d85160c65.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.c | 2 |
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 |