diff options
Diffstat (limited to 'core/context.h')
-rw-r--r-- | core/context.h | 7 |
1 files changed, 7 insertions, 0 deletions
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::array<EffectSlotProps,4>>; std::vector<EffectSlotPropsCluster> 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::array<ContextProps,2>>; + std::vector<ContextPropsCluster> mContextPropClusters; + ContextBase(DeviceBase *device); ContextBase(const ContextBase&) = delete; |