Print the plugin type during initialisation

This commit is contained in:
Robbert van der Helm
2020-12-03 12:08:24 +01:00
parent c57fd67aa8
commit f845763af0
2 changed files with 10 additions and 3 deletions
+6
View File
@@ -50,6 +50,12 @@ class Vst2PluginBridge {
*/
Vst2PluginBridge(audioMasterCallback host_callback);
/**
* The type of the plugin we're dealing with. Passed to the host process and
* printed in the initialisation message.
*/
static constexpr PluginType plugin_type = PluginType::vst2;
// The four below functions are the handlers from the VST2 API. They are
// called through proxy functions in `plugin.cpp`.