#include <pulp/format/vst3_adapter.hpp>
#include <pulp/format/registry.hpp>
#include <public.sdk/source/main/pluginfactory.h>
Go to the source code of this file.
|
| #define | PULP_VST3_PLUGIN(uid, name, category, vendor, version, url, factory_fn) |
| #define | PULP_VST3_BUNDLE_PLUGIN(Ident, factory_fn, ...) |
| #define | PULP_VST3_FACTORY_BEGIN(vendor, url, email) |
| #define | PULP_VST3_BUNDLE_CLASS(Ident, uid, name, category, version) |
| #define | PULP_VST3_FACTORY_END END_FACTORY |
◆ PULP_VST3_BUNDLE_CLASS
| #define PULP_VST3_BUNDLE_CLASS |
( |
| Ident, |
|
|
| uid, |
|
|
| name, |
|
|
| category, |
|
|
| version ) |
Value: DEF_CLASS2(INLINE_UID_FROM_FUID(uid), \
PClassInfo::kManyInstances, \
kVstAudioEffectClass, \
name, \
0, \
category, \
version, \
kVstVersionString, \
_pulp_vst3_create_##Ident)
◆ PULP_VST3_BUNDLE_PLUGIN
| #define PULP_VST3_BUNDLE_PLUGIN |
( |
| Ident, |
|
|
| factory_fn, |
|
|
| ... ) |
Value: static Steinberg::FUnknown* _pulp_vst3_create_##Ident(void*) { \
return static_cast<Steinberg::Vst::IAudioProcessor*>( \
} \
namespace { \
struct Ident##_Vst3Registrar { \
Ident##_Vst3Registrar() { \
::pulp::format::register_plugin(reg); \
} \
} Ident##_vst3_registrar_; \
}
◆ PULP_VST3_FACTORY_BEGIN
| #define PULP_VST3_FACTORY_BEGIN |
( |
| vendor, |
|
|
| url, |
|
|
| email ) |
Value: BEGIN_FACTORY_DEF(vendor, url, email)
◆ PULP_VST3_FACTORY_END
| #define PULP_VST3_FACTORY_END END_FACTORY |
◆ PULP_VST3_PLUGIN
| #define PULP_VST3_PLUGIN |
( |
| uid, |
|
|
| name, |
|
|
| category, |
|
|
| vendor, |
|
|
| version, |
|
|
| url, |
|
|
| factory_fn ) |
Value: static Steinberg::FUnknown* _pulp_vst3_create(void*) { \
return static_cast<Steinberg::Vst::IAudioProcessor*>( \
} \
\
BEGIN_FACTORY_DEF(vendor, url, "mailto:info@example.com") \
DEF_CLASS2(INLINE_UID_FROM_FUID(uid), \
PClassInfo::kManyInstances, \
kVstAudioEffectClass, \
name, \
0, \
category, \
version, \
kVstVersionString, \
_pulp_vst3_create) \
END_FACTORY