From 06b585d3733d634427abb492099d1373a58598fa Mon Sep 17 00:00:00 2001 From: Remco van Essen Date: Sat, 17 Oct 2026 10:05:21 +0200 Subject: [PATCH] [i2s_audio] Fix speaker restart loop with full_duplex (#20984) --- .../components/i2s_audio/speaker/i2s_audio_speaker_standard.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/i2s_audio/speaker/i2s_audio_speaker_standard.cpp b/esphome/components/i2s_audio/speaker/i2s_audio_speaker_standard.cpp index 73ad924fad7..026a66c1cf1 100644 --- a/esphome/components/i2s_audio/speaker/i2s_audio_speaker_standard.cpp +++ b/esphome/components/i2s_audio/speaker/i2s_audio_speaker_standard.cpp @@ -456,6 +456,7 @@ esp_err_t I2SAudioSpeaker::start_i2s_driver(audio::AudioStreamInfo &audio_stream } return ESP_ERR_NOT_SUPPORTED; } + this->current_stream_info_ = audio_stream_info; // The speaker task will enable the channel after preloading. return this->acquire_full_duplex_channel_(I2S_EVENT_QUEUE_COUNT); }