Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AudioInfoSource Class Reference

Supports the subscription to audio change notifications. More...

#include <AudioTypes.h>

Inheritance diagram for AudioInfoSource:
AudioDecoder AudioOutput AudioStream StreamingDecoder AACDecoderFAAD AACDecoderFDK AACDecoderHelix ADPCMDecoderXQ ADTSDecoder APTXDecoder AudioDecoderExt Codec2Decoder CodecNOP ContainerDecoder CopyDecoder DecoderAdapter DecoderBase64 DecoderBasic DecoderFloat DecoderHelix DecoderL16 DecoderL8 G722Decoder G7xxDecoder GSMDecoder ILBCDecoder LC3Decoder MP3DecoderHelix MP3DecoderMAD MP3DecoderMini MTSDecoder OpusAudioDecoder SBCDecoder WAVDecoder WavIMADecoder AudioESP32ULP AudioFFTBase AudioOutputAdapter AudioOutputWithCallback AudioServerEx AudioSyncWriter ChannelSplitOutput ChannelsSelectOutput CsvOutput< T > HexDumpOutput MemoryOutput MetaDataOutput ModifyingOutput OggContainerOutput PWMAudioOutput PitchShiftOutput< T, BufferT > RTSPOutput VolumeOutput FileLoopT< File > GeneratedSoundStream< int16_t > QueueStream< uint8_t > A2DPStream AbstractURLStream AdapterAudioOutputToAudioStream AnalogAudioStream AnalogDriverESP32V1::IO16Bit AudioKitStream AudioMP34DT05 AudioStreamWrapper AudioSyncReader BufferedTaskStream CatStream DynamicMemoryStream ESP3288AudioOutput ESPNowStream FaustStream< DSP > FileLoopT< FileType > GeneratedSoundStream< T > HLSStream I2SCodecStream I2SStream InputMerge< T > InputMixer< T > JupyterAudioT< T > MemoryStream MiniAudioStream ModifyingStream MozziStream NullStream Pipeline PortAudioStream PureDataStream QueueStream< T > RingBufferStream SPDIFOutput StdioStream TfLiteAudioStreamBase VBANStream VS1053Stream WM8960Stream FLACDecoder StreamingDecoderAdapter VorbisDecoder

Public Member Functions

virtual void addNotifyAudioChange (AudioInfoSupport &bi)
 Adds target to be notified about audio changes.
virtual void clearNotifyAudioChange ()
 Deletes all change notify subscriptions.
bool isNotifyActive ()
 Checks if the automatic AudioInfo update is active.
virtual bool removeNotifyAudioChange (AudioInfoSupport &bi)
 Removes a target in order not to be notified about audio changes.
void setNotifyActive (bool flag)
 Deactivate/Reactivate automatic AudioInfo updates: (default is active)

Protected Member Functions

void notifyAudioChange (AudioInfo info)

Protected Attributes

bool is_notify_active = true
Vector< AudioInfoSupport * > notify_vector

Detailed Description

Supports the subscription to audio change notifications.

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