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
74
libs/tremor/doc/seeking.html
Normal file
74
libs/tremor/doc/seeking.html
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<title>Tremor - Seeking</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>Seeking</h1>
|
||||
<p>Seeking functions allow you to specify a specific point in the stream to begin or continue decoding.
|
||||
<p>
|
||||
All libvorbisidec seeking routines are declared in "ivorbisfile.h".
|
||||
|
||||
<p>Certain seeking functions are best suited to different situations.
|
||||
When speed is important and exact positioning isn't required,
|
||||
page-level seeking should be used. Note also that Vorbis files do not
|
||||
necessarily start at a sample number or time offset of zero. Do not
|
||||
be surprised if a file begins at a positive offset of several minutes
|
||||
or hours, such as would happen if a large stream (such as a concert
|
||||
recording) is chopped into multiple separate files. Requesting to
|
||||
seek to a position before the beginning of such a file will seek to
|
||||
the position where audio begins.<p>
|
||||
|
||||
</ul>
|
||||
|
||||
<table border=1 color=black width=50% cellspacing=0 cellpadding=7>
|
||||
<tr bgcolor=#cccccc>
|
||||
<td><b>function</b></td>
|
||||
<td><b>purpose</b></td>
|
||||
</tr>
|
||||
<tr valign=top>
|
||||
<td><a href="ov_raw_seek.html">ov_raw_seek</a></td>
|
||||
<td>This function seeks to a position specified in the compressed bitstream, specified in bytes.</td>
|
||||
</tr>
|
||||
<tr valign=top>
|
||||
<td><a href="ov_pcm_seek.html">ov_pcm_seek</a></td>
|
||||
<td>This function seeks to a specific audio sample number, specified in pcm samples.</td>
|
||||
</tr>
|
||||
<tr valign=top>
|
||||
<td><a href="ov_pcm_seek_page.html">ov_pcm_seek_page</a></td>
|
||||
<td>This function seeks to the closest page preceding the specified audio sample number, specified in pcm samples.</td>
|
||||
</tr>
|
||||
<tr valign=top>
|
||||
<td><a href="ov_time_seek.html">ov_time_seek</a></td>
|
||||
<td>This function seeks to the specific time location in the bitstream, specified in integer milliseconds. Note that this differs from the reference vorbisfile implementation, which takes seconds as a float. </td>
|
||||
</tr>
|
||||
<tr valign=top>
|
||||
<td><a href="ov_time_seek_page.html">ov_time_seek_page</a></td>
|
||||
<td>This function seeks to the closest page preceding the specified time position in the bitstream, specified in integer milliseconds.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<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