| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 | <html><head><title>Tremor - Vorbisfile Differences</title><link rel=stylesheet href="style.css" type="text/css"></head><body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff"><table border=0 width=100%><tr><td><p class=tiny>Tremor documentation</p></td><td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td></tr></table><h1>Tremor / Vorbisfile API Differences</h1><p>The Tremor libvorbisidec library exposes an API intended to be assimilar as possible to the familiar 'vorbisfile' library included withthe open source Vorbis reference libraries distributed for free byXiph.org. Differences are summarized below.<p><h2>OggVorbis_File structure</h2>The <tt>bittrack</tt> and <tt>samptrack</tt> fields in the <ahref="OggVorbis_File.html">OggVorbis_File</a> structure are changed to64 bit integers in Tremor, from doubles in vorbisfile.<h2>Time-related seek and tell function calls</h2>The <a href="ov_time_total.html">ov_time_total()</a> and <ahref="ov_time_tell.html">ov_time_tell()</a> functions return milliseconds as 64 bit integers in Tremor.  In vorbisfile, these functions returnedseconds as doubles.<p>In Tremor, the <a href="ov_time_seek.html">ov_time_seek()</a> and <ahref="ov_time_seek_page.html">ov_time_seek_page()</a> calls takeseeking positions in milliseconds as 64 bit integers, rather than inseconds as doubles as in Vorbisfile.<p><h2>Reading decoded data</h2>Tremor <a href="ov_read.html">ov_read()</a> always returns data assigned 16 bit interleaved PCM in host byte order. As such, it does nottake arguments to request specific signedness, byte order or bit depthas in Vorbisfile.<p>Tremor does not implement <tt>ov_read_float()</tt>.<p><br><br><hr noshade><table border=0 width=100%><tr valign=top><td><p class=tiny>copyright © 2002 Xiph.org</p></td><td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td></tr><tr><td><p class=tiny>Tremor documentation</p></td><td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td></tr></table></body></html>
 |