aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-13 19:13:47 +0100
committerMax Kellermann <max@duempel.org>2013-11-13 19:13:47 +0100
commita80b5cf19b8d2dda6db15444cd11aa9494546380 (patch)
tree1a30f2ef79bf568683895439db87aef247ef47a1 /src/DecoderInternal.hxx
parent44ac84767ee16b5445f80267589fe4a5fba0a33a (diff)
downloadmpd-a80b5cf19b8d2dda6db15444cd11aa9494546380.tar.gz
mpd-a80b5cf19b8d2dda6db15444cd11aa9494546380.tar.xz
mpd-a80b5cf19b8d2dda6db15444cd11aa9494546380.zip
DecoderInternal: move functions into the class
Diffstat (limited to 'src/DecoderInternal.hxx')
-rw-r--r--src/DecoderInternal.hxx30
1 files changed, 14 insertions, 16 deletions
diff --git a/src/DecoderInternal.hxx b/src/DecoderInternal.hxx
index 46069a561..37abb4427 100644
--- a/src/DecoderInternal.hxx
+++ b/src/DecoderInternal.hxx
@@ -95,23 +95,21 @@ struct Decoder {
}
~Decoder();
-};
-/**
- * Returns the current chunk the decoder writes to, or allocates a new
- * chunk if there is none.
- *
- * @return the chunk, or NULL if we have received a decoder command
- */
-struct music_chunk *
-decoder_get_chunk(Decoder &decoder);
+ /**
+ * Returns the current chunk the decoder writes to, or allocates a new
+ * chunk if there is none.
+ *
+ * @return the chunk, or NULL if we have received a decoder command
+ */
+ music_chunk *GetChunk();
-/**
- * Flushes the current chunk.
- *
- * Caller must not lock the #DecoderControl object.
- */
-void
-decoder_flush_chunk(Decoder &decoder);
+ /**
+ * Flushes the current chunk.
+ *
+ * Caller must not lock the #DecoderControl object.
+ */
+ void FlushChunk();
+};
#endif