24Id3v1Tag *
id3v1CreateTag(uint8_t *title, uint8_t *artist, uint8_t *albumTitle,
int year,
int track, uint8_t *comment,
void id3v1DestroyTag(Id3v1Tag **toDelete)
Frees an Id3v1Tag and nullifies the pointer.
void id3v1ClearTag(Id3v1Tag *tag)
Resets all tag fields to their default empty state.
Id3v1Tag * id3v1TagFromBuffer(uint8_t *buffer)
Parses an ID3V1_MAX_SIZE buffer into an Id3v1Tag structure.
bool id3v1HasTag(const uint8_t *buffer)
Checks if a buffer contains a valid ID3v1 tag identifier.
Id3v1Tag * id3v1CreateTag(uint8_t *title, uint8_t *artist, uint8_t *albumTitle, int year, int track, uint8_t *comment, Genre genre)
Creates and allocates a new Id3v1Tag structure.
Definitions for ID3v1 tag structure, constants, and genre enumeration.
enum _Genre Genre
ID3v1 genre enumeration with Winamp extensions (genres 0-191).
struct _Id3v1Tag Id3v1Tag
ID3v1/ID3v1.1 tag structure containing all metadata fields.