Crate audio_core[][src]

The core audio traits.

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 the audio crate.

Structs

Channel

The buffer of a single channel.

ChannelMut

The mutable buffer of a single channel.

Traits

AsInterleaved

A trait describing a buffer that is interleaved.

AsInterleavedMut

A trait describing a buffer that is interleaved and mutable.

Buf

The base trait available to all audio buffers.

Channels

A trait describing something that has channels.

ChannelsMut

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.

InterleavedBuf

Trait implemented for buffers which are linearly stored in memory.

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.