Module encode

Module encode 

Source
Expand description

For encoding PCM samples to FLAC files

§Multithreading

Encoders will operate using multithreading if the optional rayon feature is enabled, typically boosting performance by processing channels in parallel. But because subframes must eventually be written serially, and their size cannot generally be known in advance, processing two channels across two threads will not encode twice as fast.

Structs§

FlacByteWriter
A FLAC writer which accepts samples as bytes
FlacChannelWriter
A FLAC writer which accepts samples as channels of signed integers
FlacSampleWriter
A FLAC writer which accepts samples as signed integers
FlacStreamWriter
A FLAC writer which operates on streamed output
Options
FLAC encoding options

Enums§

OptionsError
An error when specifying encoding options
SeekTableInterval
The interval of seek points to generate
Window
The method to use for windowing the input signal

Functions§

generate_seektable
Given a FLAC stream, generates new seek table