ESPHome
2025.2.2
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
d
e
f
i
j
l
m
n
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
d
o
p
s
t
v
w
+
Enumerations
b
c
e
f
i
m
n
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Functions
_
a
l
m
o
s
t
u
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
esphome
esphome
components
audio_dac
audio_dac.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/core/defines.h
"
4
#include "
esphome/core/hal.h
"
5
6
namespace
esphome
{
7
namespace
audio_dac {
8
9
class
AudioDac
{
10
public
:
11
virtual
bool
set_mute_off
() = 0;
12
virtual
bool
set_mute_on
() = 0;
13
virtual
bool
set_volume
(
float
volume
) = 0;
14
15
virtual
bool
is_muted
() = 0;
16
virtual
float
volume
() = 0;
17
18
protected
:
19
bool
is_muted_
{
false
};
20
};
21
22
}
// namespace audio_dac
23
}
// namespace esphome
esphome::audio_dac::AudioDac::set_mute_off
virtual bool set_mute_off()=0
esphome::audio_dac::AudioDac::set_mute_on
virtual bool set_mute_on()=0
hal.h
esphome::audio_dac::AudioDac
Definition:
audio_dac.h:9
esphome::audio_dac::AudioDac::is_muted_
bool is_muted_
Definition:
audio_dac.h:19
defines.h
esphome::audio_dac::AudioDac::is_muted
virtual bool is_muted()=0
esphome::audio_dac::AudioDac::set_volume
virtual bool set_volume(float volume)=0
esphome::audio_dac::AudioDac::volume
virtual float volume()=0
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
Generated by
1.8.13