Recognizes if input is ogg or not.
[xiph.git] / ao / doc / ao_default_driver_id.html
blobe5b877a3d339c9fbbcdd66b7cd7cdb7b9036781e
1 <html>
3 <head>
4 <title>libao - function - ao_default_driver_id</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_default_driver_id</h1>
18 <p><i>declared in "ao/ao.h";</i></p>
20 <p>Returns the ID number of the default live output driver.
21 If the <a href="ao_conf.html">configuration files</a> specify a
22 default driver, its ID is returned, otherwise the library tries to
23 pick a live output driver that will work on the host platform.
25 <br><br>
26 <table border=0 color=black cellspacing=0 cellpadding=7>
27 <tr bgcolor=#cccccc>
28 <td>
29 <pre><b>
30 int ao_default_driver_id();
31 </b></pre>
32 </td>
33 </tr>
34 </table>
36 <h3>Return Values</h3>
37 <blockquote>
38 <li>a non-negative value is the ID number of the default driver.</li>
40 <li>-1 indicates failure to find a usable audio output device.</li>
41 </blockquote>
42 <p>
44 <h3>Notes</h3>
45 <p>If no default device is available, you may still use the null device
46 to test your application.</p>
48 <br><br>
49 <hr noshade>
50 <table border=0 width=100%>
51 <tr valign=top>
52 <td><p class=tiny>copyright &copy; 2001-2003 Stan Seibert</p></td>
53 <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>
54 </tr><tr>
55 <td><p class=tiny>libao documentation</p></td>
56 <td align=right><p class=tiny>libao version 0.8.5 - 20040312</p></td>
57 </tr>
58 </table>
60 </body>
62 </html>