From d0b90342f8123aed2cb7b47f7dc9be0e84dcf096 Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 22 Aug 2009 20:02:54 +0200 Subject: cpu load tuning --- streamer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'streamer.c') 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); } -- cgit v1.2.3