mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 00:39:30 +00:00
Added Tremor Ogg decoder, removed libvorbis from Makefile. OGG audio working perfectly.
Tremor is extremly similar to libogg but only uses integers (and doesn't provide an encoder). The playing problem with libvorbis was probably a float-precision related issue. No need for make build-all.
This commit is contained in:
parent
c053997f96
commit
e39fcc6c7b
97 changed files with 16571 additions and 15 deletions
67
libs/tremor/doc/diff.html
Normal file
67
libs/tremor/doc/diff.html
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
<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 as
|
||||
similar as possible to the familiar 'vorbisfile' library included with
|
||||
the open source Vorbis reference libraries distributed for free by
|
||||
Xiph.org. Differences are summarized below.<p>
|
||||
|
||||
<h2>OggVorbis_File structure</h2>
|
||||
|
||||
The <tt>bittrack</tt> and <tt>samptrack</tt> fields in the <a
|
||||
href="OggVorbis_File.html">OggVorbis_File</a> structure are changed to
|
||||
64 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 <a
|
||||
href="ov_time_tell.html">ov_time_tell()</a> functions return milliseconds as
|
||||
64 bit integers in Tremor. In vorbisfile, these functions returned
|
||||
seconds as doubles.<p>
|
||||
|
||||
In Tremor, the <a href="ov_time_seek.html">ov_time_seek()</a> and <a
|
||||
href="ov_time_seek_page.html">ov_time_seek_page()</a> calls take
|
||||
seeking positions in milliseconds as 64 bit integers, rather than in
|
||||
seconds as doubles as in Vorbisfile.<p>
|
||||
|
||||
<h2>Reading decoded data</h2>
|
||||
|
||||
Tremor <a href="ov_read.html">ov_read()</a> always returns data as
|
||||
signed 16 bit interleaved PCM in host byte order. As such, it does not
|
||||
take arguments to request specific signedness, byte order or bit depth
|
||||
as 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue