Expand description
- The encoders for the
WaveWriter
, each of these provides the same API for it to use. You can use it too.
Modules§
- flac_
enc - The FLAC encoder for
WaveWriter
- mp3
- The MP3 encoder for
WaveWriter
- oggvorbis_
enc - The OggVorbis encoderMicrosoft says this should be supported: see https://github.com/tpn/winsdk-10/blob/master/Include/10.0.14393.0/shared/mmreg.h#L2321FFmpeg does not support this format: see https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/refs/heads/release/7.1:/libavformat/riff.c
- opus
- The Opus encoder for
WaveWriter
Structs§
- Adpcm
Encoder Wrap AdpcmEncoderWrap<E>
: encodei16
audio samples to ADPCM nibbles- Dummy
Encoder - The
DummyEncoder
is not for you to use, it allows me to implementDefault
forEncoder<'a>
- Encoder
- The
Encoder
struct contains all of the encoder types and provides convenient functions that have generic type parameters.It just translates the API to the inner encoder API. - PcmEncoder
PcmEncoder
: convert various formats of PCM samples to the WAV file specific sample type- PcmX
LawEncoder Wrap PcmXLawEncoderWrap
: encodei16
audio samples to bytes
Traits§
- Encoder
ToImpl - An encoder that accepts samples of type
S
and encodes them into the file’s target format. Due to trait bounds prohibiting generic parameters, each function must be explicitly implemented for every supported type.