Recognizes if input is ogg or not.
[xiph.git] / ao / doc / ao_plugin_close.html
blob39cfec12d568ba4f73571a12081c18ff4569eb7d
1 <html>
3 <head>
4 <title>libao - function - ao_plugin_close</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>libao documentation</p></td>
12 <td align=right><p class=tiny>libao version 0.8.5 - 20040312</p></td>
13 </tr>
14 </table>
16 <h1>ao_plugin_close</h1>
18 <p><i>declared in "ao/plugin.h";</i></p>
20 <p>Close the device. Private data structures are not deallocated yet.
22 <br><br>
23 <table border=0 color=black cellspacing=0 cellpadding=7>
24 <tr bgcolor=#cccccc>
25 <td>
26 <pre><b>
27 int ao_plugin_close(<a href="ao_device.html">ao_device</a> *device);
28 </b></pre>
29 </td>
30 </tr>
31 </table>
33 <h3>Parameters</h3>
34 <dl>
35 <dt><i>device</i></dt>
36 <dd>Pointer to pre-allocated device structure.</dd>
37 </dl>
39 <h3>Return Values</h3>
40 <blockquote>
41 <li>1 indicates remaining data written correctly and device
42 closed.</li>
43 <li>0 indicates an error while the device was being closed. If this
44 device was writing to a file, the file may be corrupted.</li>
45 </blockquote>
47 <br><br>
48 <hr noshade>
49 <table border=0 width=100%>
50 <tr valign=top>
51 <td><p class=tiny>copyright &copy; 2001-2003 Stan Seibert</p></td>
52 <td align=right><p class=tiny><a href="http://www.xiph.org/">xiph.org</a><br><a href="mailto:volsung@xiph.org">volsung@xiph.org</a></p></td>
53 </tr><tr>
54 <td><p class=tiny>libao documentation</p></td>
55 <td align=right><p class=tiny>libao version 0.8.5 - 20040312</p></td>
56 </tr>
57 </table>
59 </body>
61 </html>