aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-19 23:48:34 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-19 23:48:34 +0000
commita81573ef059ac9f006ea438574b1b7ff751ba55d (patch)
tree84736ed5ad3c296ff9502c407c2ab176023cd90e /src/outputBuffer.c
parentc1fbcd03f04cfb11401174e40f7d451ee3abfff5 (diff)
downloadmpd-a81573ef059ac9f006ea438574b1b7ff751ba55d.tar.gz
mpd-a81573ef059ac9f006ea438574b1b7ff751ba55d.tar.xz
mpd-a81573ef059ac9f006ea438574b1b7ff751ba55d.zip
non-blocking seeking, needs some testing! (this is not just for streams
but new code for files seeking as well) git-svn-id: https://svn.musicpd.org/mpd/trunk@1099 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r--src/outputBuffer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index 590b9a433..ddf6395a6 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -73,13 +73,11 @@ int sendDataToOutputBuffer(OutputBuffer * cb, DecoderControl * dc,
while(datalen) {
if(currentChunk != cb->end) {
- while(cb->begin==cb->end && cb->wrap && !dc->stop &&
- !dc->seek)
+ while(cb->begin==cb->end && cb->wrap && !dc->stop)
{
my_usleep(10000);
}
if(dc->stop) return OUTPUT_BUFFER_DC_STOP;
- if(dc->seek) return OUTPUT_BUFFER_DC_SEEK;
currentChunk = cb->end;
cb->chunkSize[currentChunk] = 0;