Class which filters out ID3v1 and ID3v2 Metadata and provides only the audio data to the decoder.
More...
#include <MetaDataFilter.h>
|
| MetaDataFilter ()=default |
| Default Constructor.
|
|
| MetaDataFilter (Decoder *decoder) |
| Constructor which assigns the decoder.
|
|
void | begin () |
| (Re)starts the processing
|
|
void | setDecoder (Decoder *decoder) |
| Defines the decoder to which we write the data.
|
|
size_t | write (uint8_t *data, size_t len) |
| Writes the data to the decoder.
|
|
|
enum | MetaType { TAG
, TAG_PLUS
, ID3
} |
|
|
uint32_t | calcSizeID3v2 (uint8_t chars[4]) |
|
bool | find (const char *str, size_t len, int &pos, MetaType &type) |
| find the tag position in the string;
|
|
bool | findTag (uint8_t *data, size_t len, int &pos_tag, int &meta_len) |
| determines if the data conatins a ID3v1 or ID3v2 tag
|
|
template<class Decoder>
class audio_tools::MetaDataFilter< Decoder >
Class which filters out ID3v1 and ID3v2 Metadata and provides only the audio data to the decoder.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
The documentation for this class was generated from the following file: