Recognizes if input is ogg or not.
[xiph.git] / ao / doc / ao_file_extension.html
bloba596f285909c77839f7e1142db7c4da6066a3762
1 <html>
3 <head>
4 <title>libao - function - ao_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_file_extension</h1>
18 <p><i>declared in "ao/ao.h";</i></p>
20 <p>Returns the normal file extension associated with a particular
21 driver (like "wav" or "au"). This is just an information function to
22 allow library users to guess appropriate file names. You can safely
23 ignore the recommended extension.</p>
25 <br><br>
26 <table border=0 color=black cellspacing=0 cellpadding=7>
27 <tr bgcolor=#cccccc>
28 <td>
29 <pre><b>
30 char* ao_file_extension(int driver_id);
31 </b></pre>
32 </td>
33 </tr>
34 </table>
36 <h3>Parameters</h3>
37 <dl>
38 <dt><i>driver_id</i></dt>
39 <dd>The ID number of the driver as returned by either
40 <a href="ao_driver_id.html">ao_driver_id()</a> or
41 <a href="ao_default_driver_id.html">ao_default_driver_id()</a>.</dd>
42 </dl>
44 <h3>Return Values</h3>
45 <blockquote>
46 <li>pointer to string containing suggested file extension.</li>
48 <li>NULL if this driver has no file extension associated with it or if
49 this driver does not exist.</li>
50 </blockquote>
51 <p>
53 <br><br>
54 <hr noshade>
55 <table border=0 width=100%>
56 <tr valign=top>
57 <td><p class=tiny>copyright &copy; 2001-2003 Stan Seibert</p></td>
58 <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>
59 </tr><tr>
60 <td><p class=tiny>libao documentation</p></td>
61 <td align=right><p class=tiny>libao version 0.8.5 - 20040312</p></td>
62 </tr>
63 </table>
65 </body>
67 </html>