From 82059645f18e4a8aa734e0a376d10bb52fc1cc7d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Oct 2013 21:12:37 +0200 Subject: decoder: rename the struct to "Decoder" --- src/DecoderInternal.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/DecoderInternal.hxx') diff --git a/src/DecoderInternal.hxx b/src/DecoderInternal.hxx index fa776c26f..742357d5f 100644 --- a/src/DecoderInternal.hxx +++ b/src/DecoderInternal.hxx @@ -28,7 +28,7 @@ struct decoder_control; struct input_stream; struct Tag; -struct decoder { +struct Decoder { decoder_control &dc; PcmConvert conv_state; @@ -83,7 +83,7 @@ struct decoder { */ unsigned replay_gain_serial; - decoder(decoder_control &_dc, bool _initial_seek_pending, Tag *_tag) + Decoder(decoder_control &_dc, bool _initial_seek_pending, Tag *_tag) :dc(_dc), timestamp(0), initial_seek_pending(_initial_seek_pending), @@ -94,7 +94,7 @@ struct decoder { replay_gain_serial(0) { } - ~decoder(); + ~Decoder(); }; /** @@ -104,12 +104,12 @@ struct decoder { * @return the chunk, or NULL if we have received a decoder command */ struct music_chunk * -decoder_get_chunk(struct decoder *decoder); +decoder_get_chunk(Decoder &decoder); /** * Flushes the current chunk. */ void -decoder_flush_chunk(struct decoder *decoder); +decoder_flush_chunk(Decoder &decoder); #endif -- cgit v1.2.3