Module vst::buffer

source ·
Expand description

Buffers to safely work with audio samples.

Structs

AudioBuffer contains references to the audio buffers for all input and output channels.
Iterator over pairs of buffers of input channels and output channels.
Iterator over buffers for input channels of an AudioBuffer.
Wrapper type to access the buffers for the input channels of an AudioBuffer in a safe way. Behaves like a slice.
Iterator over buffers for output channels of an AudioBuffer.
Wrapper type to access the buffers for the output channels of an AudioBuffer in a safe way. Behaves like a slice.
This buffer is used for sending midi events through the VST interface. The purpose of this is to convert outgoing midi events from event::Event to api::Events. It only allocates memory in new() and reuses the memory between calls.

Traits

This trait is used by SendEventBuffer::send_events to accept iterators over midi events

Type Definitions

This is used as a placeholder to pre-allocate space for a fixed number of midi events in the re-useable SendEventBuffer, because SysExEvent is larger than MidiEvent, so either one can be stored in a SysExEvent.