arduino-audio-tools
Public Member Functions | Protected Attributes | List of all members
AudioPrint Class Referenceabstract

Abstract Audio Ouptut class. More...

#include <AudioPrint.h>

Inheritance diagram for AudioPrint:
Print AudioBaseInfoDependent AudioBaseInfoSource AdapterAudioStreamToAudioPrint AdapterPrintToAudioPrint AudioFFTBase AudioServerEx AudioSyncWriter CsvStream< T > HexDumpStream MemoryPrint MetaDataPrint MultiOutput PWMAudioStream PitchShiftStream< T, BufferT > VolumePrint

Public Member Functions

virtual AudioBaseInfo audioInfo () override
 
virtual int availableForWrite () override
 
virtual bool doRelease ()
 If true we need to release the related memory.
 
virtual void flush () FLUSH_OVERRIDE
 
virtual void setAudioInfo (AudioBaseInfo info) override
 
virtual void setNotifyAudioChange (AudioBaseInfoDependent &bi) override
 
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)
 
- Public Member Functions inherited from Print
virtual int print (char c, PrintCharFmt spec)
 
virtual int print (const char *msg)
 
virtual int print (int number)
 
virtual int println (const char *msg="")
 
virtual size_t write (const char *buffer, size_t size)
 
virtual size_t write (const char *str)
 
- Public Member Functions inherited from AudioBaseInfoDependent
virtual bool validate (AudioBaseInfo &info)
 

Protected Attributes

AudioBaseInfo cfg
 
AudioBaseInfoDependentp_notify =nullptr
 
uint8_t tmp [MAX_SINGLE_CHARS]
 
int tmpPos =0
 

Detailed Description

Abstract Audio Ouptut class.

Author
Phil Schatzmann

Member Function Documentation

◆ writeSilence()

virtual void writeSilence ( size_t  len)
inlinevirtual

Writes n 0 values (= silence)

Parameters
len

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