|
arduino-audio-tools
|
Simple ID3 Meta Data API which supports ID3 V2: We only support the "TALB", "TOPE", "TIT2", "TCON" tags. More...
#include <MetaDataID3.h>


Public Member Functions | |
| MetaDataID3V2 ()=default | |
| bool | 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 | |
| bool | isProcessed () |
| returns true if the tag has been provided | |
| bool | resize (size_t size) |
| Defines the result buffer size (default is 256);. | |
| void | setCallback (void(*fn)(MetaDataType info, const char *str, int len)) |
| 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. | |
| int | findTag (const char *tag, const char *str, size_t len) |
| find the tag position in the string - if not found we return -1; | |
| bool | isAscii (int l) |
| Make sure that the result is a valid ASCII string. | |
| int | isCharAscii (int ch) |
| void | processnotifyAudioChange () |
| 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 |
| bool | armed = false |
| void(* | callback )(MetaDataType info, const char *title, int len) |
| uint64_t | end_len = 0 |
| ID3v2FrameString | frame_header |
| Vector< char > | result {0} |
| int | result_size = 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 |
Simple ID3 Meta Data API which supports ID3 V2: We only support the "TALB", "TOPE", "TIT2", "TCON" tags.
|
default |
|
inline |
(re)starts the processing
|
inlineprotected |
For the time beeing we support only ASCII and UTF8.
|
inline |
Ends the processing and releases the memory.
find the tag position in the string - if not found we return -1;
|
inline |
provides the current frame header
|
inline |
returns true if the tag has been provided
|
inlineprotected |
executes the callbacks
We have the beginning of the metadata and need to process the remainder.
try to find the metatdata tag in the provided data
|
inlineinherited |
|
inlineprotected |
provide the (partial) data which might contain the meta data
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |