Skip to main content

Crate tympan_ladspa

Crate tympan_ladspa 

Source
Expand description

A safe Rust framework for writing LADSPA plugins.

Implementation is in progress. The public API surface described in docs/architecture.md is assembled bottom-up:

  • raw — low-level FFI mirroring ladspa.h.
  • realtime — primitives safe to call from the host’s realtime audio thread.
  • port — port descriptors, hints, and runtime port access.
  • Plugin — the user-facing trait. Implementations declare metadata, port shape, and lifecycle methods; the framework handles the C ABI.
  • plugin_entry! — exposes a Plugin impl as the LADSPA ladspa_descriptor shared-object entry point.

See docs/decisions/ for the architectural decisions that constrain this crate.

Re-exports§

pub use error::InstantiateError;
pub use plugin::Plugin;

Modules§

descriptor
Construction of the LADSPA descriptor table from a Plugin implementation.
entry
C-callable shims that adapt LADSPA’s callback table to the Plugin trait.
error
Error type returned by fallible plugin lifecycle operations.
plugin
The Plugin trait — the framework’s main user-facing surface.
port
Port descriptors and runtime port access.
raw
Low-level FFI declarations matching ladspa.h (LADSPA SDK 1.13).
realtime
Realtime-safe primitives.

Macros§

plugin_entry
Generate the LADSPA .so entry point for a Plugin implementation.