ESPHome
2025.2.0
esphome
esphome
components
audio_adc
audio_adc.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_adc {
8
9
class
AudioAdc
{
10
public
:
11
virtual
bool
set_mic_gain
(
float
mic_gain
) = 0;
12
13
virtual
float
mic_gain
() = 0;
14
};
15
16
}
// namespace audio_adc
17
}
// namespace esphome
hal.h
defines.h
esphome::audio_adc::AudioAdc
Definition:
audio_adc.h:9
esphome::audio_adc::AudioAdc::mic_gain
virtual float mic_gain()=0
esphome::audio_adc::AudioAdc::set_mic_gain
virtual bool set_mic_gain(float mic_gain)=0
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
Generated by
1.8.13