1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 07:03:55 +00:00

[audio_adc] Add new `audio_adc` component (#8094)

This commit is contained in:
Keith Burzinski
2025-01-20 20:35:40 -06:00
committed by GitHub
parent c3d00b45f7
commit 576dbd6f0c
10 changed files with 200 additions and 101 deletions

View File

@@ -0,0 +1,17 @@
#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