mirror of
https://github.com/esphome/esphome.git
synced 2025-04-08 03:40:28 +01:00
18 lines
284 B
C++
18 lines
284 B
C++
#pragma once
|
|
|
|
#include "esphome/core/defines.h"
|
|
#include "esphome/core/hal.h"
|
|
|
|
namespace esphome {
|
|
namespace audio_adc {
|
|
|
|
class AudioAdc {
|
|
public:
|
|
virtual bool set_mic_gain(float mic_gain) = 0;
|
|
|
|
virtual float mic_gain() = 0;
|
|
};
|
|
|
|
} // namespace audio_adc
|
|
} // namespace esphome
|