|
ESPHome 2026.11.0-dev
|
#include <audio_dac.h>
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 |
| virtual void | on_audio_started () |
| Called from the main loop by the speaker driving this DAC once its audio clocks are running. | |
Protected Attributes | |
| bool | is_muted_ {false} |
Definition at line 8 of file audio_dac.h.
|
pure virtual |
|
inlinevirtual |
Called from the main loop by the speaker driving this DAC once its audio clocks are running.
DACs that can only be configured while clocked (e.g. DSP state lost across clock stops) override this.
Reimplemented in esphome::tas58xx::TAS58xx.
Definition at line 19 of file audio_dac.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
protected |
Definition at line 22 of file audio_dac.h.