From 30c4da1aa14268334cc0808eb5ed7a45d5f20439 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Sun, 19 Aug 2007 14:54:12 +0000 Subject: Add kodest wavpack streaming patch git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6758 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/decode.c') diff --git a/src/decode.c b/src/decode.c index fcda78a19..ee8d43d3e 100644 --- a/src/decode.c +++ b/src/decode.c @@ -301,13 +301,13 @@ static void decodeStart(PlayerControl * pc, OutputBuffer * cb, dc->state = DECODE_STATE_START; dc->start = 0; - +#if 0 /* this code is moved to the http stuff */ while (!inputStreamAtEOF(&inStream) && bufferInputStream(&inStream) < 0 && !dc->stop) { /* sleep so we don't consume 100% of the cpu */ my_usleep(1000); } - +#endif /* for http streams, seekable is determined in bufferInputStream */ dc->seekable = inStream.seekable; -- cgit v1.2.3