Whole document tree
    

Whole document tree

vorbisfile - function - ov_clear

vorbisfile documentation

vorbisfile version 1.25 - 20000615

ov_clear

declared in "vorbis/vorbisfile.h";

After a bitstream has been opened using ov_open and decoding is complete, you must call ov_clear() to clear the decoder's buffers and close the file for you.


int ov_clear(OggVorbis_File *vf);

Parameters

vf
A pointer to the OggVorbis_File structure--this is used for ALL the externally visible vorbisfile functions. After ov_clear has been called, the structure is deallocated and can no longer be used.

Return Values

  • 0 for success



  • copyright © 2000 vorbis team

    Ogg Vorbis
    team@vorbis.org

    vorbisfile documentation

    vorbisfile version 1.25 - 20000615