arduino-audio-tools
Public Member Functions | Protected Member Functions | List of all members
audio_tools::StreamingDecoder Class Referenceabstract

A Streaming Decoder where we provide both the input and output as streams. More...

#include <AudioEncoded.h>

Inheritance diagram for audio_tools::StreamingDecoder:
audio_tools::FLACDecoder audio_tools::VorbisDecoder

Public Member Functions

virtual AudioBaseInfo audioInfo ()=0
 Provides the last available MP3FrameInfo.
 
virtual void begin ()=0
 Starts the processing.
 
virtual bool copy ()=0
 Process a single read operation - to be called in the loop.
 
virtual void end ()=0
 Releases the reserved memory.
 
virtual operator bool ()=0
 checks if the class is active
 
virtual void setInputStream (Stream &inStream)=0
 Defines the input data stream.
 
virtual void setNotifyAudioChange (AudioBaseInfoDependent &bi)=0
 Register Output Stream to be notified about changes.
 
virtual void setOutputStream (AudioPrint &out_stream)
 Defines the output streams and register to be notified.
 
virtual void setOutputStream (AudioStream &out_stream)
 Defines the output streams and register to be notified.
 
virtual void setOutputStream (Print &outStream)=0
 Defines the output Stream.
 

Protected Member Functions

virtual size_t readBytes (uint8_t *buffer, size_t len)=0
 

Detailed Description

A Streaming Decoder where we provide both the input and output as streams.

Author
Phil Schatzmann

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