So any clues on how to use the new ExtensionsVisitor structure and setPreset() ?
else if (fPath.getFileExtension().equalsIgnoreCase (".VSTPRESET") && m_szPluginFormatName == "VST3") // VST3
{
fPath.loadFileAsData (mb);
if (AudioPluginInstance* const plugin = dynamic_cast<AudioPluginInstance*> (m_pPluginProcessor))
{
ExtensionsVisitor visitor;
plugin->getExtensions (visitor);
// ???? -- Need to replace the next line...
VST3PluginFormat::setStateFromVSTPresetFile (plugin, mb);
return true;
}
}
The deprecated comments seem ‘off’ BTW
Rail