Recognizes if input is ogg or not.
[xiph.git] / ao / doc / ao_plugin_file_extension.html
blob47cfef485632310f6cedfd7bf3c8f7ba10bdd8a1
1 <html>
3 <head>
4 <title>libao - function - ao_plugin_file_extension</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_file_extension</h1>
18 <p><i>declared in "ao/plugin.h";</i></p>
20 <p>Returns the normal file extension associated with this driver (like
21 "wav" or "au"). This is an <b>optional</b> function. Live audio
22 plugins do not need to implement this function.</p>
24 <br><br>
25 <table border=0 color=black cellspacing=0 cellpadding=7>
26 <tr bgcolor=#cccccc>
27 <td>
28 <pre><b>
29 char *ao_plugin_file_extension(int driver_id);
30 </b></pre>
31 </td>
32 </tr>
33 </table>
35 <h3>Return Values</h3>
36 <blockquote>
37 <li>pointer to string containing suggested file extension.</li>
39 <li>NULL if this driver has no file extension associated with it.
40 Live audio plugins must always return NULL if they do implement this
41 function.</li>
42 </blockquote>
43 <p>
45 <br><br>
46 <hr noshade>
47 <table border=0 width=100%>
48 <tr valign=top>
49 <td><p class=tiny>copyright &copy; 2001-2003 Stan Seibert</p></td>
50 <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>
51 </tr><tr>
52 <td><p class=tiny>libao documentation</p></td>
53 <td align=right><p class=tiny>libao version 0.8.5 - 20040312</p></td>
54 </tr>
55 </table>
57 </body>
59 </html>