diff.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <html>
  2. <head>
  3. <title>Tremor - Vorbisfile Differences</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>Tremor documentation</p></td>
  10. <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td>
  11. </tr>
  12. </table>
  13. <h1>Tremor / Vorbisfile API Differences</h1>
  14. <p>
  15. The Tremor libvorbisidec library exposes an API intended to be as
  16. similar as possible to the familiar 'vorbisfile' library included with
  17. the open source Vorbis reference libraries distributed for free by
  18. Xiph.org. Differences are summarized below.<p>
  19. <h2>OggVorbis_File structure</h2>
  20. The <tt>bittrack</tt> and <tt>samptrack</tt> fields in the <a
  21. href="OggVorbis_File.html">OggVorbis_File</a> structure are changed to
  22. 64 bit integers in Tremor, from doubles in vorbisfile.
  23. <h2>Time-related seek and tell function calls</h2>
  24. The <a href="ov_time_total.html">ov_time_total()</a> and <a
  25. href="ov_time_tell.html">ov_time_tell()</a> functions return milliseconds as
  26. 64 bit integers in Tremor. In vorbisfile, these functions returned
  27. seconds as doubles.<p>
  28. In Tremor, the <a href="ov_time_seek.html">ov_time_seek()</a> and <a
  29. href="ov_time_seek_page.html">ov_time_seek_page()</a> calls take
  30. seeking positions in milliseconds as 64 bit integers, rather than in
  31. seconds as doubles as in Vorbisfile.<p>
  32. <h2>Reading decoded data</h2>
  33. Tremor <a href="ov_read.html">ov_read()</a> always returns data as
  34. signed 16 bit interleaved PCM in host byte order. As such, it does not
  35. take arguments to request specific signedness, byte order or bit depth
  36. as in Vorbisfile.<p>
  37. Tremor does not implement <tt>ov_read_float()</tt>.<p>
  38. <br><br>
  39. <hr noshade>
  40. <table border=0 width=100%>
  41. <tr valign=top>
  42. <td><p class=tiny>copyright &copy; 2002 Xiph.org</p></td>
  43. <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td>
  44. </tr><tr>
  45. <td><p class=tiny>Tremor documentation</p></td>
  46. <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td>
  47. </tr>
  48. </table>
  49. </body>
  50. </html>