ov_time_total.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <html>
  2. <head>
  3. <title>Vorbisfile - function - ov_time_total</title>
  4. <link rel=stylesheet href="style.css" type="text/css">
  5. </head>
  6. <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
  7. <table border=0 width=100%>
  8. <tr>
  9. <td><p class=tiny>Vorbisfile documentation</p></td>
  10. <td align=right><p class=tiny>vorbisfile version 1.2.0 - 20070723</p></td>
  11. </tr>
  12. </table>
  13. <h1>ov_time_total</h1>
  14. <p><i>declared in "vorbis/vorbisfile.h";</i></p>
  15. <p>Returns the total time in seconds of the physical bitstream or a specified logical bitstream.
  16. <br><br>
  17. <table border=0 color=black cellspacing=0 cellpadding=7>
  18. <tr bgcolor=#cccccc>
  19. <td>
  20. <pre><b>
  21. double ov_time_total(OggVorbis_File *vf,int i);
  22. </b></pre>
  23. </td>
  24. </tr>
  25. </table>
  26. <h3>Parameters</h3>
  27. <dl>
  28. <dt><i>vf</i></dt>
  29. <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisfile
  30. functions.</dd>
  31. <dt><i>i</i></dt>
  32. <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>
  33. </dl>
  34. <h3>Return Values</h3>
  35. <blockquote>
  36. <li>OV_EINVAL means that the argument was invalid. In this case, the requested bitstream did not exist or the bitstream is nonseekable.</li>
  37. <li><tt>n</tt> total length in seconds of content if i=-1.</li>
  38. <li><tt>n</tt> length in seconds of logical bitstream if i=0 to n.</li>
  39. </blockquote>
  40. <p>
  41. <br><br>
  42. <hr noshade>
  43. <table border=0 width=100%>
  44. <tr valign=top>
  45. <td><p class=tiny>copyright &copy; 2007 Xiph.org</p></td>
  46. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td>
  47. </tr><tr>
  48. <td><p class=tiny>Vorbisfile documentation</p></td>
  49. <td align=right><p class=tiny>vorbisfile version 1.2.0 - 20070723</p></td>
  50. </tr>
  51. </table>
  52. </body>
  53. </html>