From 020c04e7020226a258e6dbffe3435944264823d1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 2 Nov 2008 17:02:28 +0100 Subject: decoder_api: added decoder_tag() Provide an API for submitting additional tags from the stream. --- src/decoder_api.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index a755dd3c9..486712d99 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -155,4 +155,15 @@ decoder_data(struct decoder *decoder, void *data, size_t datalen, float data_time, uint16_t bitRate, ReplayGainInfo * replayGainInfo); +/** + * This function is called by the decoder plugin when it has + * successfully decoded a tag. + * + * @param is an input stream which is buffering while we are waiting + * for the player + */ +enum decoder_command +decoder_tag(struct decoder *decoder, struct input_stream *is, + const struct tag *tag); + #endif -- cgit v1.2.3