Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
vst3_entry.hpp File Reference
#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.

Macros

#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

Macro Definition Documentation

◆ 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() { \
reg.factory = factory_fn; \
::pulp::format::register_plugin(reg); \
} \
} Ident##_vst3_registrar_; \
}
Definition vst3_adapter.hpp:140
One registered plugin.
Definition registry.hpp:35
ProcessorFactory factory
Definition registry.hpp:37

◆ 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