Skip to main content

Crate rff_codec_flac

Crate rff_codec_flac 

Source
Expand description

FLAC codec adapter over our in-house rusty_flac (pure Rust, no FFI): lossless encoder + decoder, both ours end to end.

FLAC is self-describing (its STREAMINFO carries sample rate / channels / bit depth), so — like the image codecs — a packet is the whole .flac stream and no configure is needed. The whole stream decodes to one interleaved f32 AudioFrame (samples normalized from FLAC’s native bit depth).

Functions§

register
Register the FLAC codec into a CodecRegistry.