Skip to main content

Module audio

Module audio 

Source
Expand description

Various types related to accessing Audio buffers.

Structs§

InputChannels
An InputPort’s channels’ data buffers, which contains samples of a given type S.
InputChannelsIter
An iterator over all of an InputPort’s channels’ sample buffers.
InputPort
An input audio port.
InputPortsIter
An iterator of all the available InputPorts from an Audio struct.
OutputChannels
An OutputPort’s channels’ data buffers, which contains samples of a given type S.
OutputChannelsIter
An iterator over all of an OutputPort’s channels’ writable sample buffers.
OutputPort
An output audio port.
OutputPortsIter
An iterator of all the available OutputPorts from an Audio struct.
PairedChannels
An PortPair’s channels’ data buffers, which contains samples of a given type S.
PairedChannelsIter
An iterator over all of a PortPair’s ChannelPairs.
PortPair
A pair of Input and Output ports.
PortPairsIter
An iterator of all of the available PortPairs from an Audio struct.

Enums§

BufferError
Errors that can occur when accessing Audio buffers.
ChannelPair
A pair of input and output channel buffers.
SampleType
A generic enum to discriminate between buffers containing f32 and f64 sample types.