diff options
author | waker <wakeroid@gmail.com> | 2009-08-22 20:02:54 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-22 20:03:47 +0200 |
commit | d0b90342f8123aed2cb7b47f7dc9be0e84dcf096 (patch) | |
tree | 77ee11f220a6c758e0c61ad7926e71ecdee835ab /streamer.c | |
parent | c4645c4495bd745cee9f7e20b0a4d15bc52e98b9 (diff) |
cpu load tuning
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |