Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
aax_entry.hpp File Reference
#include <pulp/format/aax_effect_gui.hpp>
#include <pulp/format/aax_model.hpp>
#include <AAX.h>
#include <AAX_Callbacks.h>
#include <string_view>

Go to the source code of this file.

Classes

struct  pulp::format::aax::EntryConfig

Namespaces

namespace  pulp
namespace  pulp::format
 What the product grants a device: the quota table indexed by capability tier and live thermal state.
namespace  pulp::format::aax

Macros

#define PULP_AAX_GUI_THUNK
#define PULP_AAX_PLUGIN_IMPL_(factory_fn, gui_proc_expr)
#define PULP_AAX_PLUGIN(factory_fn)
#define PULP_AAX_PLUGIN_WITH_GUI(factory_fn)

Functions

EntryConfig pulp::format::aax::make_entry_config (ProcessorFactory factory, std::string_view manufacturer_code, std::string_view product_code, std::string_view native_code)
IACFUnknown * pulp::format::aax::create_effect_parameters (const EntryConfig &config)
AAX_Result pulp::format::aax::get_effect_descriptions (AAX_ICollection *out_collection, const EntryConfig &config, AAXCreateObjectProc create_proc, AAXCreateObjectProc create_gui_proc=nullptr)
 Describe the plugin to the host.

Macro Definition Documentation

◆ PULP_AAX_GUI_THUNK

#define PULP_AAX_GUI_THUNK
Value:
[[maybe_unused]] static IACFUnknown* AAX_CALLBACK _pulp_aax_create_effect_gui() { \
return ::pulp::format::aax::create_effect_gui(); \
}

◆ PULP_AAX_PLUGIN

#define PULP_AAX_PLUGIN ( factory_fn)
Value:
PULP_AAX_PLUGIN_IMPL_(factory_fn, nullptr)
#define PULP_AAX_PLUGIN_IMPL_(factory_fn, gui_proc_expr)
Definition aax_entry.hpp:75

◆ PULP_AAX_PLUGIN_IMPL_

#define PULP_AAX_PLUGIN_IMPL_ ( factory_fn,
gui_proc_expr )
Value:
namespace { \
static const ::pulp::format::aax::EntryConfig& _pulp_aax_entry_config() { \
static const auto config = ::pulp::format::aax::make_entry_config( \
factory_fn, PULP_MANUFACTURER_CODE, PULP_AAX_PRODUCT_CODE, PULP_AAX_NATIVE_CODE); \
return config; \
} \
static IACFUnknown* AAX_CALLBACK _pulp_aax_create_effect_parameters() { \
return ::pulp::format::aax::create_effect_parameters(_pulp_aax_entry_config()); \
} \
} \
AAX_Result GetEffectDescriptions(AAX_ICollection* outCollection) { \
return ::pulp::format::aax::get_effect_descriptions( \
outCollection, _pulp_aax_entry_config(), &_pulp_aax_create_effect_parameters, \
(gui_proc_expr)); \
}
#define PULP_AAX_GUI_THUNK
Definition aax_entry.hpp:54
EntryConfig make_entry_config(ProcessorFactory factory, std::string_view manufacturer_code, std::string_view product_code, std::string_view native_code)
Definition aax_entry.hpp:23

◆ PULP_AAX_PLUGIN_WITH_GUI

#define PULP_AAX_PLUGIN_WITH_GUI ( factory_fn)
Value:
PULP_AAX_PLUGIN_IMPL_(factory_fn, &_pulp_aax_create_effect_gui)