#include <pulp/format/au_v2_instrument.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_INSTRUMENT
| #define PULP_AU_BUNDLE_INSTRUMENT |
( |
| ClassName, |
|
|
| factory_fn, |
|
|
| ... ) |
Value: namespace { \
struct ClassName##_Registrar { \
ClassName##_Registrar() { \
::pulp::format::register_plugin(reg); \
} \
} ClassName##_registrar_; \
} \
class ClassName : public pulp::format::au::PulpAUInstrument { \
public: \
explicit ClassName(AudioComponentInstance ci) \
: PulpAUInstrument(ci, factory_fn) {} \
}; \
AUSDK_COMPONENT_ENTRY(ausdk::AUMusicDeviceFactory, ClassName)
◆ PULP_AU_INSTRUMENT
| #define PULP_AU_INSTRUMENT |
( |
| ClassName, |
|
|
| factory_fn ) |
Value:
public: \
}; \
AUSDK_COMPONENT_ENTRY(ausdk::AUMusicDeviceFactory, ClassName)