Expand description
Ogg/Vorbis decoding helpers.
Siglus resources commonly embed sound as Ogg/Vorbis (sometimes inside OVK or with a simple XOR obfuscation (OWP)). This module provides a small, format-oriented API that decodes to interleaved PCM16.
Structs§
Functions§
- decode_
ogg_ vorbis_ bytes - Decode an Ogg/Vorbis blob in memory.
- decode_
ogg_ vorbis_ bytes_ to_ wav - Decode Ogg/Vorbis bytes and immediately return WAV bytes.
- decode_
ogg_ vorbis_ reader - Decode an Ogg/Vorbis stream into interleaved PCM16.
- decode_
ogg_ vorbis_ reader_ to_ wav - Decode an Ogg/Vorbis stream and immediately return WAV bytes.
- pcm16_
to_ wav_ bytes - Encode PCM16 into a minimal RIFF/WAVE (PCM) buffer.