Public Member Functions | Protected Attributes | List of all members
AudioOutput Class Referenceabstract

Abstract Audio Ouptut class. More...

#include <AudioOutput.h>

Inheritance diagram for AudioOutput:
Print AudioInfoSupport AudioInfoSource AudioFFTBase AudioOutputAdapter AudioOutputWithCallback AudioServerEx AudioSyncWriter ChannelSplitOutput< T > CsvOutput< T > HexDumpOutput MemoryOutput MetaDataOutput MultiOutput OggContainerOutput OnOffOutput PWMAudioOutput PitchShiftOutput< T, BufferT > RTSPOutput VolumeOutput

Public Member Functions

virtual AudioInfo audioInfo () override
virtual int availableForWrite () override
virtual bool begin ()
virtual bool begin (AudioInfo info)
virtual void end ()
virtual void flush () override
virtual bool isDeletable ()
 If true we need to release the related memory in the destructor.
 operator bool ()
virtual void setAudioInfo (AudioInfo info) override
virtual void setNotifyAudioChange (AudioInfoSupport &bi) override
virtual bool validate (AudioInfo &info)
virtual size_t write (const uint8_t *buffer, size_t size) override=0
virtual size_t write (uint8_t ch) override
virtual void writeSilence (size_t len)

Protected Attributes

AudioInfo cfg
bool is_active = false
AudioInfoSupportp_notify = nullptr
SingleBuffer< uint8_t > tmp {MAX_SINGLE_CHARS}
int tmpPos = 0

Detailed Description

Abstract Audio Ouptut class.

Phil Schatzmann

Member Function Documentation

◆ writeSilence()

virtual void writeSilence ( size_t  len)

Writes n 0 values (= silence)


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