From 06f898cc1240a29b293de0e97ad95a4fdc971254 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Jul 2013 20:11:57 +0200 Subject: tag: convert to C++ --- 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 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), -- cgit v1.2.3