aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
authorQball Cow <qball@qballcow.nl>2007-08-19 14:54:12 +0000
committerQball Cow <qball@qballcow.nl>2007-08-19 14:54:12 +0000
commit30c4da1aa14268334cc0808eb5ed7a45d5f20439 (patch)
treed73f2955073b754debe51afa402fd13f72a8898c /src/decode.c
parent3cee1f6a2ce66f4bb3b04db5ebb00b1dce9d6c25 (diff)
downloadmpd-30c4da1aa14268334cc0808eb5ed7a45d5f20439.tar.gz
mpd-30c4da1aa14268334cc0808eb5ed7a45d5f20439.tar.xz
mpd-30c4da1aa14268334cc0808eb5ed7a45d5f20439.zip
Add kodest wavpack streaming patch
git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6758 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c4
1 files changed, 2 insertions, 2 deletions
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;