mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Initial commit with project skeleton
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user