Vorbisfile documentation

libVorbisfile version 1.65 - 20020702

ov_bitrate_instant

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

Used to find the most recent bitrate played back within the file. Will return 0 if the bitrate has not changed or it is the beginning of the file.
ファイル内で、最も最近に演奏されたビットレートを見つける。 ビットレートがかわっていないか、ファイルの最初では0を返す。


long ov_bitrate_instant(OggVorbis_File *vf);

Parameters

vf
A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile functions.
OggVorbis_File構造体へのポインタ。 これはすべての対外的に可視であるlibvorbisfileの関数で使用される。

Return Values

  • 0 indicates the beginning of the file or unchanged bitrate info.
    0 はファイルの最初か、ビットレートが変わってないことを示す。
  • n indicates the actual bitrate since the last call.
    n は最後の呼び出しからの実際のビットレートを示す。
  • OV_FALSE indicates that playback is not in progress, and thus there is no instantaneous bitrate information to report.
    OV_FALSE は演奏が進行しておらず、瞬間ビットレート情報が報告されていないことを示す。
  • OV_EINVAL indicates that the stream represented by vf is not open.
    OV_EINVAL は vf が表すストリームが開かれてないことを示す。



  • copyright © 2002 Xiph.org

    Ogg Vorbis

    Vorbisfile documentation

    libVorbisfile version 1.65 - 20020702