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>: encodei16audio samples to ADPCM nibbles- Dummy
Encoder - The
DummyEncoderis not for you to use, it allows me to implementDefaultforEncoder<'a> - Encoder
- The
Encoderstruct 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: encodei16audio samples to bytes
Traits§
- Encoder
ToImpl - An encoder that accepts samples of type
Sand 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.