00001 <html> 00002 00003 <head> 00004 <title>Tremor - function - ov_pcm_total</title> 00005 <link rel=stylesheet href="style.css" type="text/css"> 00006 </head> 00007 00008 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> 00009 <table border=0 width=100%> 00010 <tr> 00011 <td><p class=tiny>Tremor documentation</p></td> 00012 <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td> 00013 </tr> 00014 </table> 00015 00016 <h1>ov_pcm_total</h1> 00017 00018 <p><i>declared in "ivorbisfile.h";</i></p> 00019 00020 <p>Returns the total pcm samples of the physical bitstream or a specified logical bitstream. 00021 00022 <br><br> 00023 <table border=0 color=black cellspacing=0 cellpadding=7> 00024 <tr bgcolor=#cccccc> 00025 <td> 00026 <pre><b> 00027 ogg_int64_t ov_pcm_total(OggVorbis_File *vf,int i); 00028 </b></pre> 00029 </td> 00030 </tr> 00031 </table> 00032 00033 <h3>Parameters</h3> 00034 <dl> 00035 <dt><i>vf</i></dt> 00036 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisidec 00037 functions.</dd> 00038 <dt><i>i</i></dt> 00039 <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> 00040 </dl> 00041 00042 00043 <h3>Return Values</h3> 00044 <blockquote> 00045 <li>OV_EINVAL means that the argument was invalid. In this case, the requested bitstream did not exist or the bitstream is unseekable.</li> 00046 <li> 00047 total length in pcm samples of content if i=-1.</li> 00048 <li>length in pcm samples of logical bitstream if i=1 to n.</li> 00049 </blockquote> 00050 <p> 00051 00052 00053 <br><br> 00054 <hr noshade> 00055 <table border=0 width=100%> 00056 <tr valign=top> 00057 <td><p class=tiny>copyright © 2002 Xiph.org</p></td> 00058 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td> 00059 </tr><tr> 00060 <td><p class=tiny>Tremor documentation</p></td> 00061 <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td> 00062 </tr> 00063 </table> 00064 00065 </body> 00066 00067 </html>