Vorbisfile documentation

libVorbisfile version 1.65 - 20020702

ov_pcm_total

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

Returns the total pcm samples of the physical bitstream or a specified logical bitstream.
物理ビットストリームか、指定した論理ビットストリームの合計のPCMサンプル数を返す。


ogg_int64_t ov_pcm_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 total pcm samples for the entire physical bitstream, this parameter should be set to -1.
要求する論理ビットストリームへのリンク。 ビットストリーム全体の合計PCMサンプル数を取り出すには、このパラメータに -1 をセットする。

Return Values

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



  • copyright © 2002 Xiph.org

    Ogg Vorbis

    Vorbisfile documentation

    libVorbisfile version 1.65 - 20020702