libvorbisfile - Setup/Teardown

libvorbisfile documentation | vorbisfile version 1.25 - 20000615

# Setup/Teardown

In order to decode audio using libvorbisfile, a bitstream containing vorbis audio must be properly initialized and cleared when decoding is finished.

All the vorbisfile initialization and deallocation routines are declared in "vorbis/vorbisfile.h".

function | purpose
ov_open | Initializes the Ogg Vorbis bitstream with a pointer to a bitstream and default values. This must be called before other functions in the library may be used.
ov_open_callbacks | Initializes the Ogg Vorbis bitstream with a pointer to a bitstream, default values, and custom file/bitstream manipulation routines. Used instead of ov_open when working with a data source other than a file.
ov_clear | Closes the bitstream and cleans up loose ends. Must be called when we're done with the bitstream.

copyright © 2000 vorbis team | Ogg Vorbis team@vorbis.org
vorbisfile documentation | vorbisfile version 1.25 - 20000615