arduino-audio-tools
Loading...
Searching...
No Matches
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:
Inheritance graph
[legend]
Collaboration diagram for AudioInfoSource:
Collaboration graph
[legend]

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.

Member Function Documentation

◆ addNotifyAudioChange()

virtual void addNotifyAudioChange ( AudioInfoSupport &  bi)
inlinevirtual

◆ clearNotifyAudioChange()

virtual void clearNotifyAudioChange ( )
inlinevirtual

Deletes all change notify subscriptions.

Reimplemented in RTSPClient< TcpClient, UdpSocket >.

◆ isNotifyActive()

bool isNotifyActive ( )
inline

Checks if the automatic AudioInfo update is active.

◆ notifyAudioChange()

void notifyAudioChange ( AudioInfo  info)
inlineprotected

◆ removeNotifyAudioChange()

virtual bool removeNotifyAudioChange ( AudioInfoSupport &  bi)
inlinevirtual

Removes a target in order not to be notified about audio changes.

Reimplemented in RTSPClient< TcpClient, UdpSocket >.

◆ setNotifyActive()

void setNotifyActive ( bool  flag)
inline

Deactivate/Reactivate automatic AudioInfo updates: (default is active)

Member Data Documentation

◆ is_notify_active

bool is_notify_active = true
protected

◆ notify_vector

Vector<AudioInfoSupport*> notify_vector
protected

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