A callback table for receiving metadata of a song. More...
#include <tag_handler.h>
Data Fields | |
void(* | duration )(unsigned seconds, void *ctx) |
Declare the duration of a song, in seconds. | |
void(* | tag )(enum tag_type type, const char *value, void *ctx) |
A tag has been read. | |
void(* | pair )(const char *key, const char *value, void *ctx) |
A name-value pair has been read. |
A callback table for receiving metadata of a song.
Definition at line 31 of file tag_handler.h.
void(* tag_handler::duration)(unsigned seconds, void *ctx) |
Declare the duration of a song, in seconds.
Do not call this when the duration could not be determined, because there is no magic value for "unknown duration".
void(* tag_handler::pair)(const char *key, const char *value, void *ctx) |
A name-value pair has been read.
It is the codec specific representation of tags.
void(* tag_handler::tag)(enum tag_type type, const char *value, void *ctx) |