aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_internal.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-14 09:37:52 +0200
committerMax Kellermann <max@duempel.org>2011-09-14 09:41:27 +0200
commitc344d63fb38c5d5aec4ad11815762e7ba1a13a31 (patch)
treebb50cefcd1bbe4f2b7210cb9b3ee28461caee529 /src/decoder_internal.h
parent62557f4d6b72eed3c42f17da89e11e3327151b88 (diff)
downloadmpd-c344d63fb38c5d5aec4ad11815762e7ba1a13a31.tar.gz
mpd-c344d63fb38c5d5aec4ad11815762e7ba1a13a31.tar.xz
mpd-c344d63fb38c5d5aec4ad11815762e7ba1a13a31.zip
decoder_internal: don't call input_stream_buffer()
This is not necessary since all relevant input plugins have been moved to the I/O thread, and there is no remaining useful buffer() implementation. This also fixes a busy loop when playing radio.
Diffstat (limited to 'src/decoder_internal.h')
-rw-r--r--src/decoder_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_internal.h b/src/decoder_internal.h
index 8ed6a3c64..78a783f5e 100644
--- a/src/decoder_internal.h
+++ b/src/decoder_internal.h
@@ -70,7 +70,7 @@ struct decoder {
* @return the chunk, or NULL if we have received a decoder command
*/
struct music_chunk *
-decoder_get_chunk(struct decoder *decoder, struct input_stream *is);
+decoder_get_chunk(struct decoder *decoder);
/**
* Flushes the current chunk.