Skip to main content

Module audio_codec

Module audio_codec 

Source

Structs§

AudioFileInfo
Fast metadata probe result for an audio file.
AudioMetadata
Metadata (tags) read from an audio file, all fields optional.
StreamingDecoder
Incremental audio decoder: probes once, then yields decoded interleaved f32 chunks on demand. Used by the streaming clip producer thread so the audio thread never decodes whole files.

Enums§

AudioDither
Dither mode applied when quantising floating-point samples to an integer target format.
AudioEncodeFormat
Export format selector for encode_audio_to_file.
WavBitDepth
WAV PCM bit-depth / sample-format choices.

Functions§

decode_audio_to_f32_interleaved_preferring_wav
Decode a WAV file preferentially, falling back to the general decoder.
decode_audio_to_f32_interleaved_sync
Decode an audio file to interleaved f32 samples.
encode_audio_to_file
Encode interleaved f32 samples to a file using OxideAV.
probe_audio_file
Probe sample rate, channel count and approximate frame count without decoding. Works for every format Symphonia can probe (wav, flac, mp3, ogg/vorbis, aac/alac in m4a/isomp4, …).
read_audio_metadata
Read metadata tags from an audio file without decoding audio.
write_flac
Backwards-compatible native FLAC writer.
write_wav_f32
Backwards-compatible WAV writer: 32-bit float PCM.