Crate rotary_core

Source
Expand description

The core traits for rotary.

If you want to build an audio component that is completely agnostic to the shape of any one given audio buffer you can add a dependency directly to these traits instead of depending on all of rotary.

Structs§

Channel
The buffer of a single channel.
ChannelMut
The mutable buffer of a single channel.

Traits§

Buf
A trait describing an immutable audio buffer.
BufMut
A trait describing a mutable audio buffer.
ExactSizeBuf
Trait used to describe a buffer that knows exactly how many frames it has regardless of if it’s sized or not.
ReadBuf
Trait used to govern sequential reading of an audio buffer.
ResizableBuf
Trait implemented for buffers that can be resized.
Sample
A sample that can be stored in an audio buffer. Types implementing this are known as being sample apt.
Translate
Trait used for translating one sample type to another.
WriteBuf
Trait used to govern sequential writing to an audio buffer.