Recognizes if input is ogg or not.
[xiph.git] / Tremor / doc / ov_test_open.html
blob74f441018a86db8aaf6fd3a7f8223fcc079352e3
1 <html>
3 <head>
4 <title>Tremor - function - ov_test_open</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>ov_test_open</h1>
18 <p><i>declared in "ivorbisfile.h";</i></p>
20 <p>
21 Finish opening a file partially opened with <a href="ov_test.html">ov_test()</a>
22 or <a href="ov_test_callbacks.html">ov_test_callbacks()</a>.
23 <p>
25 <table border=0 color=black cellspacing=0 cellpadding=7>
26 <tr bgcolor=#cccccc>
27 <td>
28 <pre><b>
29 int ov_test_open(<a href="OggVorbis_File.html">OggVorbis_File</a> *vf);
30 </b></pre>
31 </td>
32 </tr>
33 </table>
35 <h3>Parameters</h3>
36 <dl>
37 <dt><i>vf</i></dt>
38 <dd>A pointer to the OggVorbis_File structure--this is used for ALL the externally visible libvorbisidec
39 functions. Once this has been called, the same <tt>OggVorbis_File</tt>
40 struct should be passed to all the libvorbisidec functions.</dd>
41 </dl>
44 <h3>Return Values</h3>
45 <blockquote>
46 <li>
47 0 for success</li>
49 <li>less than zero for failure:</li>
50 <ul>
51 <li>OV_EREAD - A read from media returned an error.</li>
52 <li>OV_ENOTVORBIS - Bitstream is not Vorbis data.</li>
53 <li>OV_EVERSION - Vorbis version mismatch.</li>
54 <li>OV_EBADHEADER - Invalid Vorbis bitstream header.</li>
55 <li>OV_EFAULT - Internal logic fault; indicates a bug or heap/stack corruption.</li>
56 </ul>
57 </blockquote>
58 <p>
61 <br><br>
62 <hr noshade>
63 <table border=0 width=100%>
64 <tr valign=top>
65 <td><p class=tiny>copyright &copy; 2002 Xiph.org</p></td>
66 <td align=right><p class=tiny><a href="http://www.xiph.org/ogg/vorbis/">Ogg Vorbis</a></p></td>
67 </tr><tr>
68 <td><p class=tiny>Tremor documentation</p></td>
69 <td align=right><p class=tiny>Tremor version 1.0 - 20020403</p></td>
70 </tr>
71 </table>
73 </body>
75 </html>