Commit e990dced authored by Led's avatar Led

0.10.1

parent 87e37cd4
ver 0.10.1 (2004/3/8)
ver 0.10.1 (2004/3/7)
1) Check to see if we need to add "-lm" when linking mpd
2) Fix issues with skipping bad frames in an mp3 (this way we get the correct samplerate and such)
3) Fix crossfading bug with ogg's
4) Updated libmad and libid3tag included w/ source to 0.15.1b
ver 0.10.0 (2004/3/3)
1) Use UTF-8 for all client communications
......
......@@ -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;
......
......@@ -242,7 +242,7 @@ int decoderInit(PlayerControl * pc, Buffer * cb, AudioFormat *af,
dc->stop = 0;
}
else if(dc->seek) dc->start = 1;
else usleep(1000);
else usleep(10000);
}
exit(0);
......@@ -311,7 +311,7 @@ void decode() {
{
processDecodeInput();
if(quit) return;
usleep(100);
usleep(1000);
}
while(!quit) {
......@@ -458,7 +458,7 @@ void decode() {
quit = 1;
break;
}
else usleep(10);
else usleep(1000);
}
pc->totalPlayTime+= pc->elapsedTime-pc->beginTime; \
......
......@@ -181,7 +181,7 @@ int flacSendChunk(FlacData * data) {
while(data->cb->begin==data->cb->end && data->cb->wrap &&
!data->dc->stop && !data->dc->seek)
{
usleep(1000);
usleep(10000);
}
if(data->dc->stop) return -1;
......
......@@ -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;
......
......@@ -85,7 +85,7 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
while(cb->begin==cb->end && cb->wrap &&
!dc->stop && !dc->seek)
{
usleep(1000);
usleep(10000);
}
if(dc->stop) break;
else if(dc->seek) continue;
......
......@@ -134,7 +134,7 @@ int playerInit() {
pc->queueLockState = PLAYER_QUEUE_UNLOCKED;
pc->unlockQueue = 0;
}
else usleep(1000);
else usleep(10000);
}
exit(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment