Skip to main content

Module pcm

Module pcm 

Source
Expand description

Explicit linear-PCM formats and streaming rate conversion.

Structs§

LinearResampler
Streaming linear interpolation between two sample rates.
Pcm
One owned mono PCM buffer.
PcmFormat
The representation and rate of a mono linear-PCM stream.

Enums§

PcmEncoding
A supported linear sample representation.
PcmError
A typed PCM-boundary refusal.
PcmSamples
Owned samples whose variant states their depth.

Constants§

MAX_SAMPLE_RATE
Highest application PCM rate accepted by the conversion boundary.

Functions§

resample_i16
Convert one complete signed-16 stream between explicit rates.