ESPHome  2025.2.0
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
virtual float mic_gain()=0
virtual bool set_mic_gain(float mic_gain)=0
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7