[][src]Crate fon

Rust audio types and conversions.

An audio buffer can be cheaply converted to and from raw sample (i8, i16, f32, and f64) buffers, enabling interoperability with other crates.

Many audio formats are supported:

Blending operations are supported for all formats.

Modules

chan

Component channels

mono

Mono speaker configuration and types.

ops

Synthesis and mixing operations.

stereo

Stereo speaker configuration and types.

surround

Surround Sound 5.1 speaker configuration and types.

Structs

Audio

Audio buffer (array of audio Samples at sample rate specified in hertz).

Resampler

Context for an audio resampler.

Traits

Sample

Sample - A number of channels.

Sink

Audio sink - a type that consumes a finite number of audio samples.

Stream

Audio stream - a type that generates audio (may be infinite, but is not required).