From ed98cbefd014a5166ec086fd276eb283cdab22aa Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 3 Jan 2024 14:12:28 -0800 Subject: Allocate context property updates in clusters --- core/context.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/context.h') diff --git a/core/context.h b/core/context.h index 16d1b415..980514b3 100644 --- a/core/context.h +++ b/core/context.h @@ -108,6 +108,7 @@ struct ContextBase { void allocVoiceChanges(); void allocVoiceProps(); void allocEffectSlotProps(); + void allocContextProps(); ContextParams mParams; @@ -160,6 +161,12 @@ struct ContextBase { using EffectSlotPropsCluster = std::unique_ptr>; std::vector mEffectSlotPropClusters; + /* This could be greater than 2, but there should be no way there can be + * more than two context property updates in use simultaneously. + */ + using ContextPropsCluster = std::unique_ptr>; + std::vector mContextPropClusters; + ContextBase(DeviceBase *device); ContextBase(const ContextBase&) = delete; -- cgit v1.2.3