From f2df12836f10719f65e9eefa1e17aa600edf49c2 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Mon, 5 Feb 2024 20:30:20 +1100 Subject: tweak pipeline buffers rather than i2s dma buffer this maintains the bluetooth changes to buffer sizes, but keeps the most important i2s buffer the same size --- src/audio/audio_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audio/audio_decoder.cpp') diff --git a/src/audio/audio_decoder.cpp b/src/audio/audio_decoder.cpp index 5b057240..bd728e5a 100644 --- a/src/audio/audio_decoder.cpp +++ b/src/audio/audio_decoder.cpp @@ -48,7 +48,7 @@ namespace audio { [[maybe_unused]] static const char* kTag = "audio_dec"; static constexpr std::size_t kCodecBufferLength = - drivers::kI2SBufferLengthFrames * sizeof(sample::Sample) * 2; + drivers::kI2SBufferLengthFrames * sizeof(sample::Sample); Timer::Timer(std::shared_ptr t, const codecs::ICodec::OutputFormat& format) -- cgit v1.2.3