diff options
author | Max Kellermann <max@duempel.org> | 2013-10-21 21:12:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-21 21:12:37 +0200 |
commit | 82059645f18e4a8aa734e0a376d10bb52fc1cc7d (patch) | |
tree | e2d1c113c887cdafe95ec07419150d6b768211b6 /src/DecoderInternal.hxx | |
parent | 13e9f18403b98f8123b1b983c4680957d684e47b (diff) | |
download | mpd-82059645f18e4a8aa734e0a376d10bb52fc1cc7d.tar.gz mpd-82059645f18e4a8aa734e0a376d10bb52fc1cc7d.tar.xz mpd-82059645f18e4a8aa734e0a376d10bb52fc1cc7d.zip |
decoder: rename the struct to "Decoder"
Diffstat (limited to '')
-rw-r--r-- | src/DecoderInternal.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 |