ov_info.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <html>
  2. <head>
  3. <title>vorbisfile - function - ov_info</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.25 - 20000615</p></td>
  11. </tr>
  12. </table>
  13. <h1>ov_info</h1>
  14. <p><i>declared in "vorbis/vorbisfile.h";</i></p>
  15. <p>Returns the <a href="vorbis_info.html">vorbis_info</a> struct for the specified bitstream. For nonseekable files, always returns the current vorbis_info struct.
  16. <br><br>
  17. <table border=0 color=black cellspacing=0 cellpadding=7>
  18. <tr bgcolor=#cccccc>
  19. <td>
  20. <pre><b>
  21. vorbis_info *ov_info(<a href="OggVorbis_File.html">OggVorbis_File</a> *vf,int link);
  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 vorbisfile
  30. functions. <b></strong>Once this has been called, the same <tt>OggVorbis_File</tt>
  31. struct should be passed to all the vorbisfile functions.</b></dd>
  32. <dt><i>i</i></dt>
  33. <dd>Link to the desired logical bitstream. For nonseekable files, this argument is ignored. To retrieve the <a href="vorbis_info.html">vorbis_info</a> struct for the current bitstream, this parameter should be set to -1.</dd>
  34. </dl>
  35. <h3>Return Values</h3>
  36. <blockquote>
  37. <li>Returns the vorbis_info struct for the specified bitstream. Returns vorbis_info for current bitstream if the file is nonseekable or i=-1.</li>
  38. <li>NULL if the specified bitstream does not exist or the file has been initialized improperly.</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; 2000 vorbis team</p></td>
  46. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/index.html">Ogg Vorbis</a><br><a href="mailto:team@vorbis.org">team@vorbis.org</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.25 - 20000615</p></td>
  50. </tr>
  51. </table>
  52. </body>
  53. </html>