arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ContainerTarget Class Referenceabstract

ContainerTarget: forwards requests to both the output and the encoder/decoder and sets up the output chain for Containers. We also manage the proper sequence of the output classes. More...

#include <AudioEncoded.h>

Inheritance diagram for ContainerTarget:
ContainerTargetPrint

Public Member Functions

virtual bool begin ()=0
 
virtual void end ()=0
 
virtual void setAudioInfo (AudioInfo info)
 
virtual size_t write (uint8_t *data, size_t size)=0
 

Protected Attributes

bool active = false
 
AudioInfo info
 
AudioWriterp_writer1 = nullptr
 
AudioWriterp_writer2 = nullptr
 
AudioWriterToAudioOutput print2
 

Detailed Description

ContainerTarget: forwards requests to both the output and the encoder/decoder and sets up the output chain for Containers. We also manage the proper sequence of the output classes.

Author
Phil Schatzmann

Member Function Documentation

◆ begin()

virtual bool begin ( )
pure virtual

Implemented in ContainerTargetPrint.

◆ end()

virtual void end ( )
pure virtual

Implemented in ContainerTargetPrint.

◆ setAudioInfo()

virtual void setAudioInfo ( AudioInfo  info)
inlinevirtual

◆ write()

virtual size_t write ( uint8_t data,
size_t  size 
)
pure virtual

Implemented in ContainerTargetPrint.

Member Data Documentation

◆ active

bool active = false
protected

◆ info

AudioInfo info
protected

◆ p_writer1

AudioWriter* p_writer1 = nullptr
protected

◆ p_writer2

AudioWriter* p_writer2 = nullptr
protected

◆ print2

AudioWriterToAudioOutput print2
protected

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