Vorbisfile documentation

libVorbisfile version 1.65 - 20020702

ov_clear

declared in "vorbis/vorbisfile.h";  "vorbis/vorbisfile.h"で定義されている

After a bitstream has been opened using ov_open()/ov_open_callbacks() and decoding is complete, the application must call ov_clear() to clear the decoder's buffers and close the file.
ビットストリームが ov_open()/ov_open_callbacks() を使って開かれ、そしてデコードが完了した場合、アプリケーションはデコーダのバッファをクリアし、ファイルを閉じるために ov_clear() を呼ばなければならない。

ov_clear() must also be called after a successful call to ov_test() or ov_test_callbacks().
また、ov_test()ov_test_callbacks() の呼び出しが成功したときにも ov_clear() を呼ばなければならない。




int ov_clear(OggVorbis_File *vf);

Parameters

vf
A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile functions. After ov_clear has been called, the structure is deallocated and can no longer be used.
OggVorbis_File構造体へのポインタ。 これはすべての対外的に可視であるlibvorbisfileの関数で使用される。 ov_clear の呼出し後には、構造体は解放されているため、もう使うことはできない。

Return Values

  • 0 for success 成功を表す0



  • copyright © 2002 Xiph.org

    Ogg Vorbis

    Vorbisfile documentation

    libVorbisfile version 1.65 - 20020702