seeking.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <html>
  2. <head>
  3. <title>vorbisfile - Seeking</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>Seeking</h1>
  14. <p>Seeking functions allow you to specify a specific point in the stream to begin or continue decoding.
  15. <p>
  16. All the <b>vorbisfile</b> seeking routines are declared in "vorbis/vorbisfile.h".
  17. <p>
  18. <p>Certain seeking functions are best suited to different situations. When speed is important, page-level seeking should be used.
  19. </ul>
  20. <table border=1 color=black width=50% cellspacing=0 cellpadding=7>
  21. <tr bgcolor=#cccccc>
  22. <td><b>function</b></td>
  23. <td><b>purpose</b></td>
  24. </tr>
  25. <tr valign=top>
  26. <td><a href="ov_raw_seek.html">ov_raw_seek</a></td>
  27. <td>This function seeks to a specific byte in the bitstream, specified in bytes.</td>
  28. </tr>
  29. <tr valign=top>
  30. <td><a href="ov_pcm_seek.html">ov_pcm_seek</a></td>
  31. <td>This function seeks to a specific point in the bitstream, specified in pcm samples.</td>
  32. </tr>
  33. <tr valign=top>
  34. <td><a href="ov_pcm_seek.html">ov_pcm_seek_page</a></td>
  35. <td>This function seeks to the closest page preceding a point in the bitstream, specified in pcm samples.</td>
  36. </tr>
  37. <tr valign=top>
  38. <td><a href="ov_time_seek.html">ov_time_seek</a></td>
  39. <td>This function seeks to a time in the bitstream, specified in seconds. The easiest and simplest seeking method.</td>
  40. </tr>
  41. <tr valign=top>
  42. <td><a href="ov_time_seek_page.html">ov_time_seek_page</a></td>
  43. <td>This function seeks to the closest page preceding a time in the bitstream, specified in seconds.</td>
  44. </tr>
  45. </table>
  46. <br><br>
  47. <hr noshade>
  48. <table border=0 width=100%>
  49. <tr valign=top>
  50. <td><p class=tiny>copyright &copy; 2000 vorbis team</p></td>
  51. <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>
  52. </tr><tr>
  53. <td><p class=tiny>vorbisfile documentation</p></td>
  54. <td align=right><p class=tiny>vorbisfile version 1.25 - 20000615</p></td>
  55. </tr>
  56. </table>
  57. </body>
  58. </html>