diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-08-24 22:13:12 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-08-24 22:13:12 +0200 |
commit | ba1c69fbd302abf10eaa6315b4ca83649f463e47 (patch) | |
tree | 6db03ffd9d48f2de7bfc23d5430899ab2df55001 /streamer.c | |
parent | 7d1c36432826595f52277fe56a26800a7514d321 (diff) |
don't sleep during initial track prebuffering
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1052,7 +1052,7 @@ streamer_thread (void *ctx) { int ms = (tm2.tv_sec*1000+tm2.tv_usec/1000) - (tm1.tv_sec*1000+tm1.tv_usec/1000); alloc_time -= ms; - if (alloc_time > 0) { + if (!streamer_buffering && alloc_time > 0) { usleep (alloc_time * 1000); // usleep (1000); } |