olilarkin / wdl-ol

Enhanced version of Cockos' iPlug - A simple-to-use C++ framework for developing cross platform audio plugins and targeting multiple plugin APIs with the same code. VST / VST3 / Audiounit / RTAS / AAX (Native) formats supported. NOTE: THIS IS OBSOLETE, PLEASE SEE IPLUG2:
https://github.com/iplug2
936 stars 187 forks source link

VST3 initialization and preset issues #80

Open l0calh05t opened 6 years ago

l0calh05t commented 6 years ago

For plugins without presets, IPlugVST3::initialize causes issues, because it calls RestorePreset(0) which causes the plugin to use some random/unititialized parameters. Also, presets do not appear (at least in Reaper), unless the (undocumented) define VST3_PRESET_LIST is set. Am I doing something wrong? In Reaper, if I select a preset in the VST3 version it will also jump back to displaying the default preset's name (after loading the selected preset), which doesn't occur with the VST2 version of any of my plugins. Furthermore, selecting "Restore factory default" will cause a new preset called "No preset" to appear (again only with VST3). The latter two things may be Reaper-only issues (have no other host to test on)

olilarkin commented 6 years ago

will look into it. VST3 factory presets suck. reaper displays .vstpreset files in the right folders