Created
March 11, 2014 03:56
-
-
Save milesegan/9479254 to your computer and use it in GitHub Desktop.
vst startup hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VST_EXPORT AEffect* VSTPluginMain (audioMasterCallback audioMaster) | |
{ | |
if (!audioMaster(0, audioMasterVersion, 0, 0, 0, 0)) return 0; | |
AudioEffect* effect = new MyVST(audioMaster); | |
effect->init(); // <--- implement your own init() method that configures the vst | |
return effect->getAeffect (); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment