ESPHome  2024.10.3
Public Member Functions | Protected Attributes
esphome::audio_dac::AudioDac Class Referenceabstract

#include <audio_dac.h>

Inheritance diagram for esphome::audio_dac::AudioDac:
esphome::aic3204::AIC3204

Public Member Functions

virtual bool set_mute_off ()=0
 
virtual bool set_mute_on ()=0
 
virtual bool set_volume (float volume)=0
 
virtual bool is_muted ()=0
 
virtual float volume ()=0
 

Protected Attributes

bool is_muted_ {false}
 

Detailed Description

Definition at line 9 of file audio_dac.h.

Member Function Documentation

◆ is_muted()

virtual bool esphome::audio_dac::AudioDac::is_muted ( )
pure virtual

Implemented in esphome::aic3204::AIC3204.

◆ set_mute_off()

virtual bool esphome::audio_dac::AudioDac::set_mute_off ( )
pure virtual

Implemented in esphome::aic3204::AIC3204.

◆ set_mute_on()

virtual bool esphome::audio_dac::AudioDac::set_mute_on ( )
pure virtual

Implemented in esphome::aic3204::AIC3204.

◆ set_volume()

virtual bool esphome::audio_dac::AudioDac::set_volume ( float  volume)
pure virtual

Implemented in esphome::aic3204::AIC3204.

◆ volume()

virtual float esphome::audio_dac::AudioDac::volume ( )
pure virtual

Implemented in esphome::aic3204::AIC3204.

Field Documentation

◆ is_muted_

bool esphome::audio_dac::AudioDac::is_muted_ {false}
protected

Definition at line 19 of file audio_dac.h.


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