1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00

AU: Set plug-in host callbacks immediately after calling releaseResources() in prepareToPlay() in case the audio unit relies on them during initialisation

This commit is contained in:
ed 2021-12-01 11:41:32 +00:00
parent b8cb4da497
commit 7c609484e8

View file

@ -913,6 +913,7 @@ public:
if (audioUnit != nullptr)
{
releaseResources();
setPluginCallbacks();
for (int dir = 0; dir < 2; ++dir)
{
@ -996,8 +997,6 @@ public:
if (! haveParameterList)
refreshParameterList();
setPluginCallbacks();
if (! syncBusLayouts (getBusesLayout(), true, ignore))
{
prepared = false;