From f49d770a1981beba04b1e46808e2dd703022b7d8 Mon Sep 17 00:00:00 2001 From: Marcus Tomlinson Date: Wed, 21 Aug 2024 14:59:04 +0100 Subject: [PATCH] Simplify Component::GetBufferCount() --- include/dspatch/Component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dspatch/Component.h b/include/dspatch/Component.h index d5cfef53..a37ea1e9 100644 --- a/include/dspatch/Component.h +++ b/include/dspatch/Component.h @@ -353,7 +353,7 @@ inline void Component::SetBufferCount( int bufferCount, int startBuffer ) inline int Component::GetBufferCount() const { - return (int)_inputBuses.size(); + return _bufferCount; } inline void Component::Tick( int bufferNo )