mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
AU Host: Call AudioUnitReset() before AudioUnitUninitialize() instead of after
This change ensures that it is possible to put a plugin in an unprepared state by calling releaseResources().
This commit is contained in:
parent
cc8aa57793
commit
0ff5cea68c
1 changed files with 1 additions and 1 deletions
|
|
@ -1119,9 +1119,9 @@ public:
|
|||
{
|
||||
if (prepared)
|
||||
{
|
||||
AudioUnitUninitialize (audioUnit);
|
||||
resetBuses();
|
||||
AudioUnitReset (audioUnit, kAudioUnitScope_Global, 0);
|
||||
AudioUnitUninitialize (audioUnit);
|
||||
|
||||
outputBufferList.clear();
|
||||
prepared = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue