OSDN Git Service

bluez a2dp - use a sensible write timeout
authorIan Kent <raven@themaw.net>
Mon, 28 Sep 2009 15:47:44 +0000 (23:47 +0800)
committerNick Pelly <npelly@google.com>
Wed, 30 Sep 2009 00:13:26 +0000 (17:13 -0700)
The 500 msec write timeout is extremely optimistic, a 1000 msec
timeout is closer to reality.

audio/liba2dp.c

index b48b954..4f2dda0 100755 (executable)
@@ -86,7 +86,7 @@
 #define POLL_TIMEOUT                   1000
 
 /* timeout in milliseconds for a2dp_write */
-#define WRITE_TIMEOUT                  500
+#define WRITE_TIMEOUT                  1000
 
 
 typedef enum {