Crate rotary_core[][src]

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.

Re-exports

pub use self::io::ReadBuf;
pub use self::io::WriteBuf;

Modules

io

Reading and writing sequentially from buffers.

Structs

Channel

The buffer of a single channel.

ChannelMut

The mutable buffer of a single channel.

Traits

AsChannel

Trait for types that can be cheaply converted into a channel.

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.

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.