summaryrefslogtreecommitdiff
path: root/src/audiofile_decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-01 03:48:51 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-01 03:48:51 +0000
commit3ab984176452000cc845adfb4afc8808a404a3c6 (patch)
treee5445ca386114bae6100788b9ace544ae48409f9 /src/audiofile_decode.c
parent917af619da81e88fe3b10b54171935e093fb8821 (diff)
use our own portable version of usleep using select()
git-svn-id: https://svn.musicpd.org/mpd/trunk@578 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 595c9cea2..d34c029ee 100644
--- a/src/audiofile_decode.c
+++ b/src/audiofile_decode.c
@@ -111,7 +111,7 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
else {
while(cb->begin==cb->end && cb->wrap &&
!dc->stop && !dc->seek){
- usleep(10000);
+ my_usleep(10000);
}
if(dc->stop) break;
else if(dc->seek) continue;