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
935 stars 186 forks source link

LoadProgramFromFXP extension #33

Closed Deisss closed 9 years ago

Deisss commented 9 years ago

I'm actually working on preset system, and as I'm away a little from "official" preset system, I found there is no way to load a preset from a given path right now.

This is because the function LoadProgramFromFXP does not handle a path parameter but directly prompt to user a load box... That would be sweet to have a parameter and a prompt only if parameter is empty, something like that...

PS: I can do it if you are out of time, let me know!

olilarkin commented 9 years ago

yes the fxp/fxb methods in IPlugBase shouldn't call into GUI methods to prompt and should take a path as an arg instead. I have actually changed this in my "IPlug2" which is not yet public. I will see if I can change it in IPlug1, since I need it for a project too

olilarkin commented 9 years ago

modified in ffd01fdedaec8f972bc7e67ee1522afb50ff2f72