Initial commit with project skeleton

This commit is contained in:
Robbert van der Helm
2020-02-03 14:13:43 +01:00
commit f1a95ded2f
8 changed files with 408 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#include <vestige/aeffect.h>
extern "C" {
// TODO: Remove
#include <cstdio>
#define VST_EXPORT __attribute__((visibility("default")))
/**
* The main VST plugin entry point. All other functions exported below are
* fallbacks for old VST hosts.
*/
VST_EXPORT AEffect* VSTPluginMain(audioMasterCallback audioMaster) {
// TODO
printf("Hello, world!\n");
return nullptr;
}
VST_EXPORT AEffect* MAIN(audioMasterCallback audioMaster) {
return VSTPluginMain(audioMaster);
}
VST_EXPORT AEffect* main_plugin(audioMasterCallback audioMaster) {
return VSTPluginMain(audioMaster);
}
}