From 638c747381b9d26416cdb01ede9bdb808ae75ed9 Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Sat, 16 Sep 2023 01:58:38 +0200 Subject: [PATCH] Set MAX_BUFFER_LEN to a more reasonable size --- src/util/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/defs.h b/src/util/defs.h index fa42968ef775..8098967b24cf 100644 --- a/src/util/defs.h +++ b/src/util/defs.h @@ -4,7 +4,7 @@ // Maximum buffer length to each EngineObject::process call. //TODO: Replace this with mixxx::AudioParameters::bufferSize() -constexpr unsigned int MAX_BUFFER_LEN = 160000; +constexpr unsigned int MAX_BUFFER_LEN = 32 * 1024; constexpr int kMaxNumberOfDecks = 4;