From 9ece1b916e300ede479d0d423d6949564e684b5e Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 28 Nov 2020 17:19:29 +0100 Subject: [PATCH] Rename plugin.cpp to vst2-plugin.cpp --- meson.build | 2 +- src/plugin/{plugin.cpp => vst2-plugin.cpp} | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) rename src/plugin/{plugin.cpp => vst2-plugin.cpp} (87%) diff --git a/meson.build b/meson.build index b5b2d860..5fec0309 100644 --- a/meson.build +++ b/meson.build @@ -102,7 +102,7 @@ shared_library( 'src/common/communication.cpp', 'src/common/utils.cpp', 'src/plugin/host-process.cpp', - 'src/plugin/plugin.cpp', + 'src/plugin/vst2-plugin.cpp', 'src/plugin/bridges/vst2.cpp', 'src/plugin/utils.cpp', version_header, diff --git a/src/plugin/plugin.cpp b/src/plugin/vst2-plugin.cpp similarity index 87% rename from src/plugin/plugin.cpp rename to src/plugin/vst2-plugin.cpp index 59284fc4..75a860f2 100644 --- a/src/plugin/plugin.cpp +++ b/src/plugin/vst2-plugin.cpp @@ -24,20 +24,20 @@ #define VST_EXPORT __attribute__((visibility("default"))) -// The main entry point for VST plugins should be called `VSTPluginMain``. The +// The main entry point for VST2 plugins should be called `VSTPluginMain``. The // other one exist for legacy reasons since some old hosts might still use them. // There's also another possible legacy entry point just called `main`, but GCC // will refuse to compile a function called `main` that's not a regular C++ main -// function +// function. /** - * The main VST plugin entry point. We first set up a bridge that connects to a - * Wine process that hosts the Windows VST plugin. We then create and return a + * The main VST2 plugin entry point. We first set up a bridge that connects to a + * Wine process that hosts the Windows VST2 plugin. We then create and return a * VST plugin struct that acts as a passthrough to the bridge. * * To keep this somewhat contained this is the only place where we're doing * manual memory management. Clean up is done when we receive the `effClose` - * opcode from the VST host (i.e. opcode 1).` + * opcode from the VST2 host (i.e. opcode 1).` */ extern "C" VST_EXPORT AEffect* VSTPluginMain( audioMasterCallback host_callback) {