aboutsummaryrefslogtreecommitdiffstats
path: root/src/audiofile_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/audiofile_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/audiofile_decode.c')
-rw-r--r--src/audiofile_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audiofile_decode.c b/src/audiofile_decode.c
index c6c04dafd..7c44cdce8 100644
--- a/src/audiofile_decode.c
+++ b/src/audiofile_decode.c
@@ -99,7 +99,7 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
else {
while(cb->begin==cb->end && cb->wrap &&
!dc->stop && !dc->seek){
- usleep(1000);
+ usleep(10000);
}
if(dc->stop) break;
else if(dc->seek) continue;