mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Fix for hosting certain AU plugins that didn't like to have their state restored before they get initialised.
This commit is contained in:
parent
7fecba7265
commit
bf37e92e30
1 changed files with 2 additions and 0 deletions
|
|
@ -801,6 +801,8 @@ public:
|
|||
|
||||
void setCurrentProgramStateInformation (const void* data, int sizeInBytes) override
|
||||
{
|
||||
initialiseAudioUnit();
|
||||
|
||||
CFReadStreamRef stream = CFReadStreamCreateWithBytesNoCopy (kCFAllocatorDefault, (const UInt8*) data,
|
||||
sizeInBytes, kCFAllocatorNull);
|
||||
CFReadStreamOpen (stream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue