aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-07-30 20:11:57 +0200
committerMax Kellermann <max@duempel.org>2013-07-30 20:19:53 +0200
commit06f898cc1240a29b293de0e97ad95a4fdc971254 (patch)
tree001a6d3db039cdc03323f3bfddc13b94bde31ce4 /src/DecoderInternal.hxx
parent6a9ab8bc0e2f5d34803513bb2d94d041a607a58c (diff)
downloadmpd-06f898cc1240a29b293de0e97ad95a4fdc971254.tar.gz
mpd-06f898cc1240a29b293de0e97ad95a4fdc971254.tar.xz
mpd-06f898cc1240a29b293de0e97ad95a4fdc971254.zip
tag: convert to C++
Diffstat (limited to 'src/DecoderInternal.hxx')
-rw-r--r--src/DecoderInternal.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/DecoderInternal.hxx b/src/DecoderInternal.hxx
index 02ead763b..3715ef427 100644
--- a/src/DecoderInternal.hxx
+++ b/src/DecoderInternal.hxx
@@ -25,6 +25,7 @@
#include "replay_gain_info.h"
struct input_stream;
+struct Tag;
struct decoder {
struct decoder_control *dc;
@@ -62,13 +63,13 @@ struct decoder {
* files, because we expect the stream server to send us a new
* tag each time we play it.
*/
- struct tag *song_tag;
+ Tag *song_tag;
/** the last tag received from the stream */
- struct tag *stream_tag;
+ Tag *stream_tag;
/** the last tag received from the decoder plugin */
- struct tag *decoder_tag;
+ Tag *decoder_tag;
/** the chunk currently being written to */
struct music_chunk *chunk;
@@ -81,8 +82,7 @@ struct decoder {
*/
unsigned replay_gain_serial;
- decoder(decoder_control *_dc, bool _initial_seek_pending,
- struct tag *_tag)
+ decoder(decoder_control *_dc, bool _initial_seek_pending, Tag *_tag)
:dc(_dc),
timestamp(0),
initial_seek_pending(_initial_seek_pending),