arduino-audio-tools
|
E.g. used by Encoders and Decoders. More...
#include <AudioTypes.h>
Public Member Functions | |
virtual AudioInfo | audioInfo ()=0 |
provides the actual input AudioInfo | |
virtual AudioInfo | audioInfoOut () |
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream | |
virtual bool | begin ()=0 |
virtual bool | begin (AudioInfo info) |
virtual void | end ()=0 |
virtual | operator bool ()=0 |
virtual void | setAudioInfo (AudioInfo from)=0 |
Defines the input AudioInfo. | |
virtual void | setOutput (Print &out_stream)=0 |
virtual size_t | write (const uint8_t *data, size_t len)=0 |
Protected Member Functions | |
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
E.g. used by Encoders and Decoders.