1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-04 03:40:07 +00:00

VST3: Re-initialise plug-in MIDI buses in prepareToPlay()

This commit is contained in:
ed 2020-06-30 12:48:11 +01:00
parent 159a274a03
commit b0790feab6

View file

@ -2076,6 +2076,8 @@ public:
setLatencySamples (jmax (0, (int) processor->getLatencySamples()));
cachedBusLayouts = getBusesLayout();
setStateForAllMidiBuses (true);
warnOnFailure (holder->component->setActive (true));
warnOnFailureIfImplemented (processor->setProcessing (true));