Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
audio_tools::MetaDataID3V2 Class Reference

Simple ID3 Meta Data API which supports ID3 V2: We only support the "TALB", "TOPE", "TIT2", "TCON" tags. More...

#include <MetaDataID3.h>

Inheritance diagram for audio_tools::MetaDataID3V2:

Public Member Functions

void begin ()
 (re)starts the processing
void end ()
 Ends the processing and releases the memory.
ID3v2FrameString frameHeader ()
 provides the current frame header
ID3v2 header ()
 provides the ID3v2 header
size_t write (const uint8_t *data, size_t len)
 provide the (partial) data which might contain the meta data

Protected Member Functions

uint32_t calcSize (uint8_t chars[4])
bool encodingIsSupported ()
 For the time beeing we support only ASCII and UTF8.
void processNotify ()
 executes the callbacks
void processPartialTagAtTail (const uint8_t *data, size_t len)
 We have the beginning of the metadata and need to process the remainder.
void processTagNotFound (const uint8_t *data, size_t len)
 try to find the metatdata tag in the provided data
int strpos (char *str, const char *target)

Protected Attributes

const char * actual_tag
uint64_t end_len = 0
ID3v2FrameString frame_header
char result [256]
ParseStatus status = TagNotFound
bool tag_active = false
bool tag_processed = false
ID3v2 tagv2
uint64_t total_len = 0
int use_bytes_of_next_write = 0

Detailed Description

Simple ID3 Meta Data API which supports ID3 V2: We only support the "TALB", "TOPE", "TIT2", "TCON" tags.

Phil Schatzmann

The documentation for this class was generated from the following file: