commit 8e921724a249f0c59b7aadd4e857b877e852ad22
parent 888fdc48a0ad2908d0f29ef99302460811b4d35b
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Thu, 1 Aug 2024 21:48:22 +0200
add assert if we attempt to edit a parameter that cannot be edited via CCs
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/source/nord/n2x/n2xJucePlugin/n2xController.cpp b/source/nord/n2x/n2xJucePlugin/n2xController.cpp
@@ -182,7 +182,10 @@ namespace n2xJucePlugin
const auto& ccs = controllerMap.getControlChanges(synthLib::M_CONTROLCHANGE, _parameter.getParameterIndex());
if(ccs.empty())
+ {
+ assert(false && "TODO: implement parameter sending for non-CC params");
return;
+ }
const auto cc = ccs.front();