5 #include "../i2s_audio.h" 15 void setup()
override;
16 void start()
override;
24 size_t read(int16_t *buf,
size_t len)
override;
26 #if SOC_I2S_SUPPORTS_ADC 44 #if SOC_I2S_SUPPORTS_ADC
void set_din_pin(int8_t pin)
void set_bits_per_sample(i2s_bits_per_sample_t bits_per_sample)
void set_use_apll(uint32_t use_apll)
Helper class to request loop() to be called as fast as possible.
void set_adc_channel(adc1_channel_t channel)
i2s_bits_per_sample_t bits_per_sample_
void set_channel(i2s_channel_fmt_t channel)
HighFrequencyLoopRequester high_freq_
i2s_channel_fmt_t channel_
void set_sample_rate(uint32_t sample_rate)
size_t read(int16_t *buf, size_t len) override
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
adc1_channel_t adc_channel_