Vorbisfile documentation

libVorbisfile version 1.65 - 20020702

ov_time_seek

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

For seekable streams, this seeks to the given time. For implementing seeking in a player, this is the only function generally needed. This also updates everything needed within the decoder, so you can immediately call ov_read() and get data from the newly seeked to position. This function does not work for unseekable streams.
移動可能なストリームで、時間を指定して移動する。 プレイヤーで移動を実装する場合この関数しか普通は必要でないだろう。 デコーダ内部の必要なデータを更新するため、すぐに ov_read() を呼んで新しい位置からのデータを所得できる。 この関数は移動不可能なストリームでは動作しない。


int ov_time_seek(OggVorbis_File *vf, double s);

Parameters

vf
Pointer to our already opened and initialized OggVorbis_File structure.
すでに開かれ初期化されているOggVorbis_File構造体へのポインタ。
ms
Location to seek to within the file, specified in seconds.
ファイル内で移動したい位置。時間で指定する。

Return Values

  • 0 for success 0は成功を示す
  • Nonzero for failure 0以外は失敗を示す



  • copyright © 2002 Xiph.org

    Ogg Vorbis

    Vorbisfile documentation

    libVorbisfile version 1.65 - 20020702