diff options
Diffstat (limited to 'src/DecoderInternal.hxx')
-rw-r--r-- | src/DecoderInternal.hxx | 30 |
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 |