Vorbisfile documentation

libVorbisfile version 1.65 - 20020702

ov_time_total

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

Returns the total time in seconds of the physical bitstream or a specified logical bitstream.
物理ビットストリームか、指定した論理ビットストリームの合計の時間を秒で返す。


double ov_time_total(OggVorbis_File *vf,int i);

Parameters

vf
A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile functions.
OggVorbis_File構造体へのポインタ。 これはすべての対外的に可視であるlibvorbisfileの関数で使用される。
i
Link to the desired logical bitstream. To retrieve the time total for the entire physical bitstream, this parameter should be set to -1.
要求する論理ビットストリームへのリンク。 ビットストリーム全体の合計時間を取り出すには、このパラメータに -1 をセットする。

Return Values

  • OV_EINVAL means that the argument was invalid. In this case, the requested bitstream did not exist or the bitstream is nonseekable.
    OV_EINVAL は引数が無効であることを意味する。 この場合、要求されたビットストリームが存在しないか、ビットストリームが移動不可能である。
  • n total length in seconds of content if i=-1.
    n i が -1 のとき全内容の時間の秒数で示す。
  • n length in seconds of logical bitstream if i=1 to n.
    n i が 1〜n のとき、論理ビットストリームの秒数を示す。



  • copyright © 2002 Xiph.org

    Ogg Vorbis

    Vorbisfile documentation

    libVorbisfile version 1.65 - 20020702