gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 5ed431b67e090c0af877855c890fd4283d5c7241
parent 4da188d8b152146c6d37b5cf58ba0373e6a4edf6
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Tue, 18 Jan 2022 19:24:44 +0100

fix wrong size check for parameter descriptions

Diffstat:
Msource/jucePlugin/VirusController.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/jucePlugin/VirusController.cpp b/source/jucePlugin/VirusController.cpp @@ -13,7 +13,7 @@ namespace Virus Controller::Controller(AudioPluginAudioProcessor &p, unsigned char deviceId) : m_processor(p), m_deviceId(deviceId) { - assert(sizeof(m_paramsDescription) / sizeof(Parameter::Description) == Param_Count && "size of enum must match size of parameter descriptions"); + assert(m_paramsDescription.size() == Param_Count && "size of enum must match size of parameter descriptions"); juce::PropertiesFile::Options opts; opts.applicationName = "DSP56300 Emulator"; opts.filenameSuffix = ".settings";