Skip to main content

Module audio_setup

Module audio_setup 

Source
Expand description

Types and definitions surrounding a plugin’s audio IO setup.

Structs§

AudioIOLayout
A description of a plugin’s audio IO configuration. The Plugin defines a list of supported audio IO configs, with the first one acting as the default layout. Depending on the plugin API, the host may pick a different configuration from the list and use that instead. The final chosen configuration is passed as an argument to the Plugin::initialize() function so the plugin can allocate its data structures based on the number of audio channels it needs to process.
AuxiliaryBuffers
Contains auxiliary (sidechain) input and output buffers for a process call.
BufferConfig
Configuration for (the host’s) audio buffers.
PortNames
Contains names for the ports defined in an AudioIOLayout. Setting these is optional, but it makes working with multi-output plugins much more convenient.

Enums§

ProcessMode
The plugin’s current processing mode. Exposed through BufferConfig::process_mode. The host will reinitialize the plugin whenever this changes.

Functions§

new_nonzero_u32
Construct a NonZeroU32 value at compile time. Equivalent to NonZeroU32::new(n).unwrap().