summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-22 20:02:54 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-22 20:03:47 +0200
commitd0b90342f8123aed2cb7b47f7dc9be0e84dcf096 (patch)
tree77ee11f220a6c758e0c61ad7926e71ecdee835ab /streamer.c
parentc4645c4495bd745cee9f7e20b0a4d15bc52e98b9 (diff)
cpu load tuning
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/streamer.c b/streamer.c
index 13f0c9e6..c295e8af 100644
--- a/streamer.c
+++ b/streamer.c
@@ -104,7 +104,7 @@ streamer_thread (uintptr_t ctx) {
}
// try jump to next song
pl_nextsong (0);
- usleep (3000);
+ usleep (50000);
continue;
}
badsong = -1;
@@ -126,7 +126,7 @@ streamer_thread (uintptr_t ctx) {
continue;
}
else if (p_isstopped ()) {
- usleep (3000);
+ usleep (50000);
continue;
}
@@ -158,7 +158,7 @@ streamer_thread (uintptr_t ctx) {
streambuffer_fill += bytesread;
}
streamer_unlock ();
- usleep (6000);
+ usleep (10000);
//printf ("fill: %d \r", streambuffer_fill);
}