Mercurial > hg > sv-dependency-builds
annotate src/libvorbis-1.3.3/doc/vorbisfile/ov_time_total.html @ 1:05aa0afa9217
Bring in flac, ogg, vorbis
author | Chris Cannam |
---|---|
date | Tue, 19 Mar 2013 17:37:49 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@1 | 1 <html> |
Chris@1 | 2 |
Chris@1 | 3 <head> |
Chris@1 | 4 <title>Vorbisfile - function - ov_time_total</title> |
Chris@1 | 5 <link rel=stylesheet href="style.css" type="text/css"> |
Chris@1 | 6 </head> |
Chris@1 | 7 |
Chris@1 | 8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"> |
Chris@1 | 9 <table border=0 width=100%> |
Chris@1 | 10 <tr> |
Chris@1 | 11 <td><p class=tiny>Vorbisfile documentation</p></td> |
Chris@1 | 12 <td align=right><p class=tiny>vorbisfile version 1.3.2 - 20101101</p></td> |
Chris@1 | 13 </tr> |
Chris@1 | 14 </table> |
Chris@1 | 15 |
Chris@1 | 16 <h1>ov_time_total</h1> |
Chris@1 | 17 |
Chris@1 | 18 <p><i>declared in "vorbis/vorbisfile.h";</i></p> |
Chris@1 | 19 |
Chris@1 | 20 |
Chris@1 | 21 <p>Returns the total time in seconds of the physical bitstream or a specified logical bitstream. |
Chris@1 | 22 |
Chris@1 | 23 |
Chris@1 | 24 <br><br> |
Chris@1 | 25 <table border=0 color=black cellspacing=0 cellpadding=7> |
Chris@1 | 26 <tr bgcolor=#cccccc> |
Chris@1 | 27 <td> |
Chris@1 | 28 <pre><b> |
Chris@1 | 29 double ov_time_total(OggVorbis_File *vf,int i); |
Chris@1 | 30 </b></pre> |
Chris@1 | 31 </td> |
Chris@1 | 32 </tr> |
Chris@1 | 33 </table> |
Chris@1 | 34 |
Chris@1 | 35 <h3>Parameters</h3> |
Chris@1 | 36 <dl> |
Chris@1 | 37 <dt><i>vf</i></dt> |
Chris@1 | 38 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile |
Chris@1 | 39 functions.</dd> |
Chris@1 | 40 <dt><i>i</i></dt> |
Chris@1 | 41 <dd>Link to the desired logical bitstream. To retrieve the time total for the entire physical bitstream, this parameter should be set to -1.</b></dd> |
Chris@1 | 42 </dl> |
Chris@1 | 43 |
Chris@1 | 44 |
Chris@1 | 45 <h3>Return Values</h3> |
Chris@1 | 46 <blockquote> |
Chris@1 | 47 <li>OV_EINVAL means that the argument was invalid. In this case, the requested bitstream did not exist or the bitstream is nonseekable.</li> |
Chris@1 | 48 <li><tt>n</tt> total length in seconds of content if i=-1.</li> |
Chris@1 | 49 <li><tt>n</tt> length in seconds of logical bitstream if i=0 to n.</li> |
Chris@1 | 50 </blockquote> |
Chris@1 | 51 <p> |
Chris@1 | 52 |
Chris@1 | 53 <br><br> |
Chris@1 | 54 <hr noshade> |
Chris@1 | 55 <table border=0 width=100%> |
Chris@1 | 56 <tr valign=top> |
Chris@1 | 57 <td><p class=tiny>copyright © 2000-2010 Xiph.Org</p></td> |
Chris@1 | 58 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td> |
Chris@1 | 59 </tr><tr> |
Chris@1 | 60 <td><p class=tiny>Vorbisfile documentation</p></td> |
Chris@1 | 61 <td align=right><p class=tiny>vorbisfile version 1.3.2 - 20101101</p></td> |
Chris@1 | 62 </tr> |
Chris@1 | 63 </table> |
Chris@1 | 64 |
Chris@1 | 65 </body> |
Chris@1 | 66 |
Chris@1 | 67 </html> |