#include <pulp/format/au_v2_midi_processor.hpp>
#include <pulp/format/registry.hpp>
#include <AudioUnitSDK/AUPlugInDispatch.h>
#include <AudioUnitSDK/ComponentBase.h>
Go to the source code of this file.
◆ PULP_AU_BUNDLE_MIDI_EFFECT
| #define PULP_AU_BUNDLE_MIDI_EFFECT |
( |
| ClassName, |
|
|
| factory_fn, |
|
|
| ... ) |
Value: namespace { \
struct ClassName##_Registrar { \
ClassName##_Registrar() { \
::pulp::format::register_plugin(reg); \
} \
} ClassName##_registrar_; \
} \
class ClassName : public pulp::format::au::PulpAUMidiProcessor { \
public: \
explicit ClassName(AudioComponentInstance ci) \
: PulpAUMidiProcessor(ci, factory_fn) {} \
}; \
AUSDK_COMPONENT_ENTRY(ausdk::AUMIDIEffectFactory, ClassName)
◆ PULP_AU_MIDI_EFFECT
| #define PULP_AU_MIDI_EFFECT |
( |
| ClassName, |
|
|
| factory_fn ) |
Value:
public: \
explicit ClassName(AudioComponentInstance ci) \
}; \
AUSDK_COMPONENT_ENTRY(ausdk::AUMIDIEffectFactory, ClassName)