Vorbisfile documentation

libVorbisfile version 1.65 - 20020702

ov_pcm_seek

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

Seeks to the offset specified (in pcm samples) within the physical bitstream. This function only works for seekable streams.
物理ビットストリーム内の指定した位置(PCMサンプルによる位置)へ移動する。 この関数は移動可能なストリームでのみ動作する。

This also updates everything needed within the decoder, so you can immediately call ov_read() and get data from the newly seeked to position.
デコーダ内部の必要なデータを更新するため、すぐに ov_read() を呼んで新しい位置からのデータを所得できる。




int ov_pcm_seek(OggVorbis_File *vf,ogg_int64_t pos);

Parameters

vf
A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile functions.
OggVorbis_File構造体へのポインタ。 これはすべての対外的に可視であるlibvorbisfileの関数で使用される。
pos
Position in pcm samples to seek to in the bitstream.
ビットストリーム内で移動したいPCMサンプル位置。

Return Values

  • 0 indicates success 0は成功を示す
  • nonzero indicates failure, described by several error codes: 0以外は失敗であり、エラーコードを示す



  • copyright © 2002 Xiph.org

    Ogg Vorbis

    Vorbisfile documentation

    libVorbisfile version 1.65 - 20020702