aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp3_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/mp3_decode.c
parent917af619da81e88fe3b10b54171935e093fb8821 (diff)
downloadmpd-3ab984176452000cc845adfb4afc8808a404a3c6.tar.gz
mpd-3ab984176452000cc845adfb4afc8808a404a3c6.tar.xz
mpd-3ab984176452000cc845adfb4afc8808a404a3c6.zip
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/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 e2bf2f6bf..d1bbb0c32 100644
--- a/src/mp3_decode.c
+++ b/src/mp3_decode.c
@@ -407,7 +407,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(10000);
+ my_usleep(10000);
if(dc->stop) return -1;
/* just for now, so it doesn't hang */
if(dc->seek) return 0;