mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Change to VST wrapper to avoid duplicate setParameter callbacks.
This commit is contained in:
parent
0ceeb573d8
commit
9cb14fb966
1 changed files with 5 additions and 4 deletions
|
|
@ -829,7 +829,8 @@ public:
|
|||
|
||||
void audioProcessorParameterChanged (AudioProcessor*, int index, float newValue)
|
||||
{
|
||||
setParameterAutomated (index, newValue);
|
||||
if (audioMaster != nullptr)
|
||||
audioMaster (&cEffect, audioMasterAutomate, index, 0, 0, newValue);
|
||||
}
|
||||
|
||||
void audioProcessorParameterChangeGestureBegin (AudioProcessor*, int index) { beginEdit (index); }
|
||||
|
|
@ -1367,7 +1368,7 @@ public:
|
|||
JuceVSTWrapper& wrapper;
|
||||
FakeMouseMoveGenerator fakeMouseGenerator;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (EditorCompWrapper);
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (EditorCompWrapper)
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -1446,7 +1447,7 @@ private:
|
|||
tempChannels.insertMultiple (0, 0, filter->getNumInputChannels() + filter->getNumOutputChannels());
|
||||
}
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (JuceVSTWrapper);
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (JuceVSTWrapper)
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue