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:
		
							
								
								
									
										17
									
								
								esphome/components/audio_adc/audio_adc.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								esphome/components/audio_adc/audio_adc.h
									
									
									
									
									
										Normal 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 | ||||
		Reference in New Issue
	
	Block a user