Useful functions and classes for defining VST3 Interface Ids. More...
Public Types | |
enum class | Type { ara , controller , compatibility , component , processor } |
An enum indicating the various VST3 interface types. More... | |
using | Id = std::array<std::byte, 16> |
A type storing the byte values for a unique VST3 interface identifier. | |
Public Member Functions | |
VST3Interface ()=delete | |
Static Public Member Functions | |
static Id | vst2PluginId (uint32_t pluginCode, const char *pluginName, Type interfaceType=Type::component) |
Returns a 16-byte array indicating the VST3 interface ID used for a given VST2 plugin. | |
static Id | jucePluginId (uint32_t manufacturerCode, uint32_t pluginCode, Type interfaceType=Type::component) |
Returns a 16-byte array indicating the VST3 interface ID used for a given JUCE VST3 plugin. | |
static Id | hexStringToId (const char *hex) |
Converts a 32-character hex notation string to a VST3 interface ID. | |
Useful functions and classes for defining VST3 Interface Ids.
The classes and functions in this struct are intentionally lightweight, requiring almost no JUCE or Steinberg VST3 SDK dependencies.
using VST3Interface::Id = std::array<std::byte, 16> |
A type storing the byte values for a unique VST3 interface identifier.
|
strong |
|
delete |
|
static |
Returns a 16-byte array indicating the VST3 interface ID used for a given VST2 plugin.
Internally JUCE will use this method to assign an ID for the component and controller interfaces when JUCE_VST3_CAN_REPLACE_VST2 is enabled.
References ara, compatibility, component, controller, jassertfalse, and processor.
|
static |
Returns a 16-byte array indicating the VST3 interface ID used for a given JUCE VST3 plugin.
Internally this is what JUCE will use to assign an ID to each VST3 interface, unless JUCE_VST3_CAN_REPLACE_VST2 is enabled.
References ara, compatibility, component, controller, jassert, jassertfalse, and processor.
|
static |
Converts a 32-character hex notation string to a VST3 interface ID.
References jassert, and jassertfalse.