AUDIO
Source snapshot · 11 November 2026

API reference / ravet_plugin::clap

Module clap 

Expand description

Generic CLAP export of any PluginExport.

Use crate::export_plugin! rather than naming these types. Everything the host sees comes from the product description: descriptor, audio and note ports, parameters, saved state, latency and tail.

Audio ports: the main bus is port 0 (ID 0, flagged main) in each direction where it has channels, followed by the product’s auxiliary buses with channels in that direction, in declaration order (ID 1 + declaration index, named after the bus).

Current limits: the first declared layout is used, processing is f32, product extra state is not exported.

Structs§

ClapAudio
Audio-thread side of one active plug-in instance.
ClapMain
Main-thread side of one plug-in instance.
ClapPlugin
The CLAP plug-in type for processor P.
ClapShared
State shared by every thread of one plug-in instance.