summaryrefslogtreecommitdiff
path: root/src/audio/audio_converter.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-02-05 20:30:20 +1100
committerjacqueline <me@jacqueline.id.au>2024-02-05 20:30:20 +1100
commitf2df12836f10719f65e9eefa1e17aa600edf49c2 (patch)
treef3934ad5781fe18ed3cb9b3ca69f2db7107b4e93 /src/audio/audio_converter.cpp
parentf4d8b2b04afe0cfd025e4ea0f574f906cb79a840 (diff)
downloadtangara-fw-f2df12836f10719f65e9eefa1e17aa600edf49c2.tar.gz
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
Diffstat (limited to 'src/audio/audio_converter.cpp')
-rw-r--r--src/audio/audio_converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/audio_converter.cpp b/src/audio/audio_converter.cpp
index 77773c5b..dc2fef95 100644
--- a/src/audio/audio_converter.cpp
+++ b/src/audio/audio_converter.cpp
@@ -25,7 +25,7 @@
[[maybe_unused]] static constexpr char kTag[] = "mixer";
static constexpr std::size_t kSampleBufferLength =
- drivers::kI2SBufferLengthFrames * sizeof(sample::Sample) * 2;
+ drivers::kI2SBufferLengthFrames * sizeof(sample::Sample);
static constexpr std::size_t kSourceBufferLength = kSampleBufferLength * 2;
namespace audio {