Skip to main content

AudioProcessorHandler

Trait AudioProcessorHandler 

Source
pub trait AudioProcessorHandler<'a>: Send + 'a { }
Expand description

Host data and callbacks that are tied to [audio-thread] operations.

This trait requires Send, as a plugin’s audio processor can be sent between multiple threads, but can only be accessed by one thread at a time.

This trait is bound to the plugin audio processor’s lifetime ('a).

This trait doesn’t have any inherent methods, and serves only to restrict the lifetime and Send bounds. However, extensions can add more callbacks to the HostHandlers::AudioProcessor type.

See the module docs for more information, and for an example implementation.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl AudioProcessorHandler<'_> for ()

Implementors§