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

Factory for creating new decoders based on the mime type or id. More...

#include <CodecFactory.h>

Classes

struct  DecoderFactoryLine
 
struct  EncoderFactoryLine
 

Public Member Functions

bool addDecoder (const char *id, AudioDecoder *(*cb)())
 
bool addEncoder (const char *id, AudioEncoder *(*cb)())
 
AudioDecodercreateDecoder (const char *str)
 create a new decoder instance
 
AudioEncodercreateEncoder (const char *str)
 create a new encoder instance
 

Protected Attributes

Vector< DecoderFactoryLinedecoders
 
Vector< EncoderFactoryLineencoders
 

Detailed Description

Factory for creating new decoders based on the mime type or id.

Author
Phil Schatzmann

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