|
|
@@ -48,7 +48,7 @@ AudioProcessor::~AudioProcessor() |
|
|
|
// that it refers to is deleted..
|
|
|
|
jassert (activeEditor == nullptr);
|
|
|
|
|
|
|
|
#if JUCE_DEBUG
|
|
|
|
#if JUCE_DEBUG && ! JUCE_DISABLE_AUDIOPROCESSOR_BEGIN_END_GESTURE_CHECKING
|
|
|
|
// This will fail if you've called beginParameterChangeGesture() for one
|
|
|
|
// or more parameters without having made a corresponding call to endParameterChangeGesture...
|
|
|
|
jassert (changingParams.countNumberOfSetBits() == 0);
|
|
|
@@ -142,7 +142,7 @@ void AudioProcessor::beginParameterChangeGesture (int parameterIndex) |
|
|
|
{
|
|
|
|
if (isPositiveAndBelow (parameterIndex, getNumParameters()))
|
|
|
|
{
|
|
|
|
#if JUCE_DEBUG
|
|
|
|
#if JUCE_DEBUG && ! JUCE_DISABLE_AUDIOPROCESSOR_BEGIN_END_GESTURE_CHECKING
|
|
|
|
// This means you've called beginParameterChangeGesture twice in succession without a matching
|
|
|
|
// call to endParameterChangeGesture. That might be fine in most hosts, but better to avoid doing it.
|
|
|
|
jassert (! changingParams [parameterIndex]);
|
|
|
@@ -163,7 +163,7 @@ void AudioProcessor::endParameterChangeGesture (int parameterIndex) |
|
|
|
{
|
|
|
|
if (isPositiveAndBelow (parameterIndex, getNumParameters()))
|
|
|
|
{
|
|
|
|
#if JUCE_DEBUG
|
|
|
|
#if JUCE_DEBUG && ! JUCE_DISABLE_AUDIOPROCESSOR_BEGIN_END_GESTURE_CHECKING
|
|
|
|
// This means you've called endParameterChangeGesture without having previously called
|
|
|
|
// beginParameterChangeGesture. That might be fine in most hosts, but better to keep the
|
|
|
|
// calls matched correctly.
|
|
|
|