Recognizes if input is ogg or not.
[xiph.git] / Tremor / doc / return.html
blob0a3f96c0e46645a79de897f594266d4be990d1ce
1 <html>
3 <head>
4 <title>Tremor - Return Codes</title>
5 <link rel=stylesheet href="style.css" type="text/css">
6 </head>
8 <body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
9 <table border=0 width=100%>
10 <tr>
11 <td><p class=tiny>Tremor documentation</p></td>
12 <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td>
13 </tr>
14 </table>
16 <h1>Return Codes</h1>
18 <p>
20 The following return codes are <tt>#define</tt>d in "ivorbiscodec.h"
21 may be returned by libvorbisidec. Descriptions of a code relevant to
22 a specific function are found in the reference description of that
23 function.
25 <dl>
27 <dt>OV_FALSE</dt>
28 <dd>Not true, or no data available</dd>
30 <dt>OV_HOLE</dt>
31 <dd>Tremor encoutered missing or corrupt data in the bitstream. Recovery
32 is normally automatic and this return code is for informational purposes only.</dd>
34 <dt>OV_EREAD</dt>
35 <dd>Read error while fetching compressed data for decode</dd>
37 <dt>OV_EFAULT</dt>
38 <dd>Internal inconsistency in decode state. Continuing is likely not possible.</dd>
40 <dt>OV_EIMPL</dt>
41 <dd>Feature not implemented</dd>
43 <dt>OV_EINVAL</dt>
44 <dd>Either an invalid argument, or incompletely initialized argument passed to libvorbisidec call</dd>
46 <dt>OV_ENOTVORBIS</dt>
47 <dd>The given file/data was not recognized as Ogg Vorbis data.</dd>
49 <dt>OV_EBADHEADER</dt>
50 <dd>The file/data is apparently an Ogg Vorbis stream, but contains a corrupted or undecipherable header.</dd>
52 <dt>OV_EVERSION</dt>
53 <dd>The bitstream format revision of the given stream is not supported.</dd>
55 <dt>OV_EBADLINK</dt>
56 <dd>The given link exists in the Vorbis data stream, but is not decipherable due to garbacge or corruption.</dd>
58 <dt>OV_ENOSEEK</dt>
59 <dd>The given stream is not seekable</dd>
61 </dl>
63 <br><br>
64 <hr noshade>
65 <table border=0 width=100%>
66 <tr valign=top>
67 <td><p class=tiny>copyright &copy; 2002 Xiph.org</p></td>
68 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td>
69 </tr><tr>
70 <td><p class=tiny>Tremor documentation</p></td>
71 <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td>
72 </tr>
73 </table>
75 </body>
77 </html>