Wrapper which converts a Print to a AudioOutput.
More...
#include <AudioIO.h>
Wrapper which converts a Print to a AudioOutput.
◆ AdapterPrintToAudioOutput() [1/2]
◆ AdapterPrintToAudioOutput() [2/2]
◆ addNotifyAudioChange()
Adds target to be notified about audio changes.
Reimplemented in CodecNOP, EncodedAudioOutput, EncodedAudioStream, AACDecoderFDK, DecoderBasic, CodecChain, MP3DecoderHelix, MP3DecoderMAD, OggContainerDecoder, RTSPClient< TcpClient, UdpSocket >, Pipeline, and Pipeline::ModifyingStreamAdapter.
◆ audioInfo()
◆ audioInfoOut()
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
Reimplemented in MP3EncoderShine, PureDataStream, PWMAudioOutput< PWMDriverT >, ChannelFormatConverterStreamT< T >, ChannelFormatConverterStream, NumberFormatConverterStreamT< TFrom, TTo >, NumberFormatConverterStream, FormatConverterStream, Pipeline, ResampleStream, and ResampleStreamT< TInterpolator >.
◆ availableForWrite()
| virtual int availableForWrite |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ begin() [1/2]
Reimplemented in OSCContainerEncoder::OSCOutput, AudioOutputWithCallback, AudioServerEx, RTSPOutput< Platform >, PitchShiftOutput< T, BufferT >, PWMAudioOutput< PWMDriverT >, RTTTLOutput< T >, EncodedAudioOutput, OggContainerOutput, R2ROutput, AdapterAudioStreamToAudioOutput, ChannelsSelectOutput, MetaDataFilter, CsvOutput< T >, HexDumpOutput, MemoryOutput, RTTTLOutput< T >, FFTEffect, FFTPitchShift, and FFTEqualizer.
◆ begin() [2/2]
◆ clearNotifyAudioChange()
| virtual void clearNotifyAudioChange |
( |
| ) |
|
|
inlinevirtualinherited |
◆ end()
Reimplemented in AudioESP32ULP, AudioServerEx, AudioSyncWriter, RTSPOutput< Platform >, SPIAudioMaster, PitchShiftOutput< T, BufferT >, MetaDataOutput, EncodedAudioOutput, OpusOggWriter, OggContainerOutput, AdapterAudioStreamToAudioOutput, MetaDataFilter, and PWMAudioOutput< PWMDriverT >.
◆ flush()
◆ isDeletable()
| virtual bool isDeletable |
( |
| ) |
|
|
inlinevirtual |
If true we need to release the related memory in the destructor.
Reimplemented from AudioOutput.
◆ isNotifyActive()
Checks if the automatic AudioInfo update is active.
◆ notifyAudioChange()
◆ operator bool()
| virtual operator bool |
( |
| ) |
|
|
inlinevirtualinherited |
◆ removeNotifyAudioChange()
◆ setAudioInfo()
◆ setNotifyActive()
| void setNotifyActive |
( |
bool |
flag | ) |
|
|
inlineinherited |
Deactivate/Reactivate automatic AudioInfo updates: (default is active)
◆ setStream()
| void setStream |
( |
Print & |
out | ) |
|
|
inline |
◆ write() [1/2]
| size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlinevirtual |
◆ write() [2/2]
| virtual size_t write |
( |
uint8_t |
ch | ) |
|
|
inlineoverridevirtualinherited |
◆ writeSilence()
| virtual void writeSilence |
( |
size_t |
len | ) |
|
|
inlinevirtualinherited |
Writes n 0 values (= silence)
- Parameters
-
◆ _timeout
◆ cfg
◆ is_active
◆ is_notify_active
| bool is_notify_active = true |
|
protectedinherited |
◆ notify_vector
◆ p_print
◆ tmp
◆ tmpPos
The documentation for this class was generated from the following file: