Get/setStateInformation() are never called in AU wrapper


I’ve just found that AudioProcessor’s methods getStateInformation() and setStateInformation() are never called in AUWrapper methods SaveState() and RestoreState(). The only methods called from them are get/setCurrentProgramStateInformation().

As distinct from the VSTWrapper where both VST native methods getChunk()/setChunk() restore and save both the program and plugin’s state.

So is there any way to restore/save whole plugin’s data during host save/recall in AU Wrapper?



I don’t think that with AUs there’s any concept of a per-program save/load, so it calls the per-program methods in your audio processor in case you’ve overridden that method. (Not sure I explained that very well, but I think the logic is right…)