Vorbisfile documentation

libVorbisfile version 1.65 - 20020702

ov_raw_seek

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

Seeks to the offset specified (in compressed raw bytes) within the physical bitstream. This function only works for seekable streams.
物理ビットストリーム内の指定した位置(圧縮済みデータのバイト位置)へ移動する。 この関数は移動可能なストリームでのみ動作する。

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() を呼んで新しい位置からのデータを所得できる。

When seek speed is a priority, this is the best seek funtion to use.
もし移動速度を優先するなら、この移動関数を使うのが最もよい。


int ov_raw_seek(OggVorbis_File *vf,long 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 compressed bytes to seek to in the bitstream.
ビットストリーム内で移動したい圧縮済みバイト位置。

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