aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp3_decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-06 23:25:32 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-06 23:25:32 +0000
commit6eb6985ac1089b354e019f5cf8e16414855efaac (patch)
treefb4c84b76aae7fe3e14b461ce841a3eb82fdf931 /src/mp3_decode.c
parente74eb1cf699fca5079e3a7f6c4a428c8372e83f6 (diff)
downloadmpd-6eb6985ac1089b354e019f5cf8e16414855efaac.tar.gz
mpd-6eb6985ac1089b354e019f5cf8e16414855efaac.tar.xz
mpd-6eb6985ac1089b354e019f5cf8e16414855efaac.zip
make some usleeps longer, just to try to stave off busy waiting
git-svn-id: https://svn.musicpd.org/mpd/trunk@219 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/mp3_decode.c')
-rw-r--r--src/mp3_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp3_decode.c b/src/mp3_decode.c
index 58a1ab548..5898d074d 100644
--- a/src/mp3_decode.c
+++ b/src/mp3_decode.c
@@ -397,7 +397,7 @@ int openMp3(char * file, mp3DecodeData * data) {
int mp3ChildSendData(mp3DecodeData * data, Buffer * cb, DecoderControl * dc) {
while(cb->begin==cb->end && cb->wrap && !dc->stop && !dc->seek)
- usleep(1000);
+ usleep(10000);
if(dc->stop) return -1;
/* just for now, so it doesn't hang */
if(dc->seek) return 0;