What problem does it solve?
Provides a consistent way to load, run, and validate native audio plugin binaries for the Pulp host so developers can implement format backends, wire plugins into the signal graph, and run integration tests that require real plugins.
Core Features & Use Cases
- Uniform PluginSlot interface with per-format loader functions that return plugin slot instances or null when unsupported.
- Reference CLAP backend patterns including dynamic library loading, entry initialization and teardown, factory selection, and host pointer ownership.
- Guidance for wiring plugins into the SignalGraph, audio-thread snapshot safety, parameter event handling, and common gotchas when adding new backends.
- Integration testing patterns that use compile-time path macros to include real plugin binaries in test runs and a simple process-test pattern for validating audio processing.
- Use cases: adding a new plugin format backend, extending PluginSlot loader dispatch, debugging graph connections and cycles, and writing integration tests against a real gain plugin.
Quick Start
Load a plugin into a PluginSlot, call prepare at 48000 Hz and 256 samples, feed a non-zero input buffer, call process, and assert the output has non-zero energy.