arduino-audio-tools
Loading...
Searching...
No Matches
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 <CodecTSDemux.h>

Inheritance diagram for ContainerTarget:
ContainerTargetPrint 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
AudioWriter * p_writer1 = nullptr
AudioWriter * p_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

◆ end()

virtual void end ( )
pure virtual

◆ setAudioInfo()

virtual void setAudioInfo ( AudioInfo info)
inlinevirtual

◆ write()

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

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: