Skip to main content

Module vorbis

Module vorbis 

Source
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§

Pcm16

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.