From 8ec5b33ca3222da455daa191842a74fb1c91d466 Mon Sep 17 00:00:00 2001 From: Kevin Ahrendt Date: Fri, 8 May 2026 12:33:34 +0000 Subject: [PATCH] Comment out the unused pre_shift parameter to avoid strict compilation warnings --- esphome/components/audio/audio_transfer_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/audio/audio_transfer_buffer.cpp b/esphome/components/audio/audio_transfer_buffer.cpp index f91c89911b..518aefa291 100644 --- a/esphome/components/audio/audio_transfer_buffer.cpp +++ b/esphome/components/audio/audio_transfer_buffer.cpp @@ -256,7 +256,7 @@ bool RingBufferAudioSource::has_buffered_data() const { (this->ring_buffer_->available() > 0); } -size_t RingBufferAudioSource::fill(TickType_t ticks_to_wait, bool pre_shift) { +size_t RingBufferAudioSource::fill(TickType_t ticks_to_wait, bool /*pre_shift*/) { if (this->current_available_ > 0) { // Caller has not finished consuming the current exposure return 0;