Skip to main content

Module encoder

Module encoder 

Source
Expand description

Audio encoders — PCM, FLAC, Opus, Vorbis.

Modules§

flac
FLAC encoder using libflac-sys directly (raw FFI with streaming callback).
pcm
PCM encoder — passthrough with WAV header.

Structs§

EncodedChunk
Result of encoding a PCM chunk.
EncoderConfig
Configuration for creating an encoder.

Traits§

Encoder
Trait for audio encoders.

Functions§

create
Create an encoder from config.