| 1 | <html> |
| 2 | |
| 3 | <head> |
| 4 | <title>libao - function - ao_file_extension</title> |
| 5 | <link rel=stylesheet href="style.css" type="text/css"> |
| 6 | </head> |
| 7 | |
| 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 1.2.2 - 20161114</p></td> |
| 13 | </tr> |
| 14 | </table> |
| 15 | |
| 16 | <h1>ao_file_extension</h1> |
| 17 | |
| 18 | <p><i>declared in "ao/ao.h";</i></p> |
| 19 | |
| 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> |
| 24 | |
| 25 | <br><br> |
| 26 | <table border=0 color=black cellspacing=0 cellpadding=7> |
| 27 | <tr bgcolor=#cccccc> |
| 28 | <td> |
| 29 | <pre><b> |
| 30 | const char* ao_file_extension(int driver_id); |
| 31 | </b></pre> |
| 32 | </td> |
| 33 | </tr> |
| 34 | </table> |
| 35 | |
| 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> |
| 43 | |
| 44 | <h3>Return Values</h3> |
| 45 | <blockquote> |
| 46 | <li>pointer to string containing suggested file extension.</li> |
| 47 | |
| 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> |
| 52 | |
| 53 | <br><br> |
| 54 | <hr noshade> |
| 55 | <table border=0 width=100%> |
| 56 | <tr valign=top> |
| 57 | <td><p class=tiny>copyright © 2001-2003 Stan Seibert, 2010-2016 Monty, 2011 Philipp Schafft</p></td> |
| 58 | <td align=right><p class=tiny><a href="http://www.xiph.org/">xiph.org</a><br><a href="mailto:[email protected]">[email protected]</a></p></td> |
| 59 | </tr><tr> |
| 60 | <td><p class=tiny>libao documentation</p></td> |
| 61 | <td align=right><p class=tiny>libao version 1.2.2 - 20161114</p></td> |
| 62 | </tr> |
| 63 | </table> |
| 64 | |
| 65 | </body> |
| 66 | |
| 67 | </html> |