summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-07-29 21:19:07 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-07-29 21:19:07 +0200
commit0d902e166aee102e90cad29c85003d5dcb2834b0 (patch)
tree692b26e4c867dc852fe73e9970003d88234ceaf0
parentaeff37eb6b1f3aba1b557faff147013991ba771e (diff)
removed experimental sleep during buffering - this slowed down track starting
-rw-r--r--streamer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streamer.c b/streamer.c
index daad5b5e..5f8ac4eb 100644
--- a/streamer.c
+++ b/streamer.c
@@ -1874,7 +1874,7 @@ streamer_thread (void *ctx) {
// and another 1ms to buffer slightly faster then playing
alloc_time -= ms+2;
if (streamer_buffering || streamer_ringbuf.remaining < STREAM_BUFFER_SIZE / 2) {
- alloc_time >>= 1;
+ alloc_time = 0;
}
if (alloc_time > 0) {