ESPHome  2024.12.0
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 esphome::es8311::ES8311

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

◆ set_mute_off()

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

◆ set_mute_on()

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

◆ set_volume()

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

◆ volume()

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

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: