Import with #import "std/vorbis".
VorbisAudio :: struct { channels: s32; rate: s32; frames: s64; }Interleaved CHANNELS at RATE, FRAMES long.
VorbisProbe :: (input: []u8, audio: *VorbisAudio) -> boolWhether INPUT is exactly one Ogg Vorbis stream: whole pages of a single logical stream and nothing else, beginning with its first page, ending with its last, and starting with a Vorbis identification header. AUDIO then holds its channels, rate and length, the last page's granule position (streams start at zero, as encoders write them). Page CRCs are left to the decoder. AUDIO is zero when the answer is false.