arduino-audio-tools
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Member Functions | Protected Attributes | List of all members
MetaDataID3 Class Reference

Simple ID3 Meta Data Parser which supports ID3 V1 and V2 and implements the Stream interface. You just need to set the callback(s) to receive the result and copy the audio data to this stream. More...

#include <MetaDataID3.h>

Inheritance diagram for MetaDataID3:
AbstractMetaData

Public Member Functions

void begin ()
 
void end ()
 
void resize (int size)
 Defines the ID3V3 result buffer size (default is 256);.
 
void setCallback (void(*fn)(MetaDataType info, const char *str, int len))
 
void setFilter (ID3TypeSelection sel)
 
virtual void setIcyMetaInt (int value)
 
virtual size_t write (const uint8_t *data, size_t len)
 Provide tha audio data to the API to parse for Meta Data.
 

Protected Attributes

int filter = SELECT_ID3
 
MetaDataID3V1 id3v1
 
MetaDataID3V2 id3v2
 

Detailed Description

Simple ID3 Meta Data Parser which supports ID3 V1 and V2 and implements the Stream interface. You just need to set the callback(s) to receive the result and copy the audio data to this stream.

Author
Phil Schatzmann

Member Function Documentation

◆ begin()

void begin ( )
inlinevirtual

Implements AbstractMetaData.

◆ end()

void end ( )
inlinevirtual

Implements AbstractMetaData.

◆ setCallback()

void setCallback ( void(*)(MetaDataType info, const char *str, int len)  fn)
inlinevirtual

Implements AbstractMetaData.

◆ setIcyMetaInt()

virtual void setIcyMetaInt ( int  value)
inlinevirtualinherited

Reimplemented in MetaDataICY.

◆ write()

virtual size_t write ( const uint8_t *  data,
size_t  len 
)
inlinevirtual

Provide tha audio data to the API to parse for Meta Data.

Implements AbstractMetaData.


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