1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-02 16:11:53 +00:00

Update esphome/components/esp_adf/microphone/esp_adf_microphone.cpp

Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
This commit is contained in:
Jesse Hills
2023-11-24 12:01:28 +13:00
committed by GitHub
parent 26a1d14ee0
commit e2bb81e233

View File

@@ -100,7 +100,7 @@ void ESPADFMicrophone::read_task(void *params) {
i2s_stream_cfg_t i2s_cfg = {
.type = AUDIO_STREAM_READER,
.i2s_config = i2s_config,
.i2s_port = I2S_NUM_0,
.i2s_port = static_cast<i2s_port_t>(CODEC_ADC_I2S_PORT),
.use_alc = false,
.volume = 0,
.out_rb_size = I2S_STREAM_RINGBUFFER_SIZE,