Closed jcelerier closed 2 years ago
I also checked that
in public.sdk/samples/vst/mda-vst3/source/mdaBaseProcessor.cpp:405
VST3::writeVst2State (fxb, *state);
indeed returns true so the state seems to be saved correctly.
Can you store vstpreset files? (see vstpresetfile.h) Maybe you can try with PresetFile::savePreset and PresetFile::loadPreset if that works.
Hello,
My loading code does the following:
and seems to work for most plug-ins, but not for the mda plug-ins that come with the SDK. I put a breakpoint in
fx.controller->setComponentState(&stream);
and observe the following trace which leads to stuff not being reloaded:e.g. in loadProgram it returns there:
I have no idea where to look ; I tried to disable the suspicious-looking SMTG_MDA_VST2_COMPATIBILITY macro but in that case the plug-ins stop loading altogether.