Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
au_v3_entry.hpp
Go to the documentation of this file.
1#pragma once
2
3// AU v3 entry-point helper.
4//
5// Usage (in one .cpp file per AU v3 plugin):
6// #include "my_plugin.hpp"
7// #include <pulp/format/au_v3_entry.hpp>
8// PULP_AUV3_PLUGIN(my_namespace::create_my_plugin)
9//
10// The macro registers the plugin's processor factory at static init time so
11// the shared `au_entry.mm` (compiled into every AU v3 .appex) can produce a
12// `PulpAudioUnit` when the host calls `PulpAUFactory`. Symmetrical to
13// `PULP_CLAP_PLUGIN` and `PULP_AU_INSTRUMENT`.
14
16
17#define PULP_AUV3_PLUGIN(factory_fn) PULP_REGISTER_PLUGIN(factory_fn)