Skip to main content

Module prelude

Module prelude 

Source
Expand description

A helpful prelude re-exporting all the types related to plugin implementation.

Re-exports§

pub use crate::entry::DefaultPluginFactory;
pub use crate::entry::Entry;
pub use crate::entry::SinglePluginEntry;
pub use crate::extensions::PluginExtensions;
pub use crate::host::HostAudioProcessorHandle;
pub use crate::host::HostMainThreadHandle;
pub use crate::host::HostSharedHandle;
pub use crate::plugin::Plugin;
pub use crate::plugin::PluginAudioProcessor;
pub use crate::plugin::PluginError;
pub use crate::plugin::PluginMainThread;
pub use crate::plugin::PluginShared;
pub use crate::process::Audio;
pub use crate::process::Events;
pub use crate::process::Process;
pub use crate::process::audio::ChannelPair;
pub use crate::process::audio::SampleType;

Macros§

clack_export_entry
Exposes a given Entry type to the host as the library’s entry point.

Structs§

ClapId
A standardized CLAP identifier.
EventHeader
The common metadata header of all CLAP events.
InputEvents
An input list of timestamped events.
OutputEvents
An ordered list of timestamped events.
Pckn
A Port, Channel, Key, NoteId (PCKN) tuple.
PluginAudioConfiguration
The audio configuration passed to a plugin’s audio processor upon activation.
PluginDescriptor
Provides metadata about a given Plugin, such as its ID, name, version, and more.
UnknownEvent
An event of an undetermined type.

Enums§

ProcessStatus
Status returned by a plugin after processing.

Traits§

Event
A specific event type.

Type Aliases§

EntryDescriptor
A C-FFI compatible descriptor of a CLAP file’s entry point.