Simple ID3 Meta Data API which supports ID3 V1.
More...
#include <MetaDataID3.h>
|
| | MetaDataID3V1 ()=default |
| |
| bool | begin () |
| | (re)starts the processing
|
| |
| void | end () |
| | Ends the processing and releases the memory.
|
| |
| 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
|
| |
|
| int | findTag (const char *tag, const char *str, size_t len) |
| | find the tag position in the string - if not found we return -1;
|
| |
| void | processnotifyAudioChange () |
| | executes the callbacks
|
| |
| void | processPartialTagAtTail (const uint8_t *data, size_t len) |
| | We had part of the start tag at the end of the last write, now we get the full data.
|
| |
| void | processTagFoundPartial (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
|
| |
Simple ID3 Meta Data API which supports ID3 V1.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ MetaDataID3V1()
◆ begin()
(re)starts the processing
◆ end()
Ends the processing and releases the memory.
◆ findTag()
| int findTag |
( |
const char * |
tag, |
|
|
const char * |
str, |
|
|
size_t |
len |
|
) |
| |
|
inlineprotectedinherited |
find the tag position in the string - if not found we return -1;
◆ processnotifyAudioChange()
| void processnotifyAudioChange |
( |
| ) |
|
|
inlineprotected |
◆ processPartialTagAtTail()
| void processPartialTagAtTail |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineprotected |
We had part of the start tag at the end of the last write, now we get the full data.
◆ processTagFoundPartial()
| void processTagFoundPartial |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineprotected |
We have the beginning of the metadata and need to process the remainder.
◆ processTagNotFound()
| void processTagNotFound |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineprotected |
try to find the metatdata tag in the provided data
◆ setCallback()
| void setCallback |
( |
void(*)(MetaDataType info, const char *str, int len) |
fn | ) |
|
|
inlineinherited |
◆ write()
| size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inline |
provide the (partial) data which might contain the meta data
◆ armed
◆ callback
| void(* callback) (MetaDataType info, const char *title, int len) |
|
protectedinherited |
◆ status
◆ tag
◆ tag_ext
◆ tag_str
◆ use_bytes_of_next_write
| int use_bytes_of_next_write = 0 |
|
protected |
The documentation for this class was generated from the following file: