4 <title>Tremor - function - ov_pcm_total
</title>
5 <link rel=stylesheet
href=
"style.css" type=
"text/css">
8 <body bgcolor=white text=black
link=
"#5555ff" alink=
"#5555ff" vlink=
"#5555ff">
9 <table border=
0 width=
100%
>
11 <td><p class=tiny
>Tremor documentation
</p></td>
12 <td align=right
><p class=tiny
>Tremor version
1.0 -
20020403</p></td>
18 <p><i>declared in
"ivorbisfile.h";
</i></p>
20 <p>Returns the total pcm samples of the physical bitstream or a specified logical bitstream.
23 <table border=
0 color=black cellspacing=
0 cellpadding=
7>
27 ogg_int64_t ov_pcm_total(OggVorbis_File *vf,int i);
36 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisidec
39 <dd>Link to the desired logical bitstream. To retrieve the total pcm samples for the entire physical bitstream, this parameter should be set to -
1.
</dd>
43 <h3>Return Values
</h3>
45 <li>OV_EINVAL means that the argument was invalid. In this case, the requested bitstream did not exist or the bitstream is unseekable.
</li>
47 total length in pcm samples of content if i=-
1.
</li>
48 <li>length in pcm samples of logical bitstream if i=
1 to n.
</li>
55 <table border=
0 width=
100%
>
57 <td><p class=tiny
>copyright
© 2002 Xiph.org
</p></td>
58 <td align=right
><p class=tiny
><a href=
"http://www.xiph.org/ogg/vorbis/">Ogg Vorbis
</a></p></td>
60 <td><p class=tiny
>Tremor documentation
</p></td>
61 <td align=right
><p class=tiny
>Tremor version
1.0 -
20020403</p></td>