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:
parent
b8cb4da497
commit
7c609484e8
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue