<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_Sound - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>Class CL_Sound</h1> <p> Sound interface in ClanLib. <a href="#description">More...</a></p> <p>Derived from: <i>none</i> <br> Derived by: <i>none</i> <br>Group: Sound (Audio Mixing)</p> <p> #include <ClanLib/sound.h> <p> <table border=0 width=100%> </table> <p><b>Selected CL_SoundOutput accessors:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_Sound__get_name.html">get_name</a></p></td><td valign=top><p> Returns the name of the current sound output:</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Sound__get_mixing_frequency.html">get_mixing_frequency</a></p></td><td valign=top><p> Returns the mixing frequency of the current sound output.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Sound__get_current_output.html">get_current_output</a></p></td><td valign=top><p> Returns the current selected sound output.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Sound__select_output.html">select_output</a></p></td><td valign=top><p> Change the current selected sound output.</p></td></tr></table> <a name="#description"><p><b>Detailed description:</b></p> !group=Sound/Audio Mixing! !header=sound.h! <p>All the functions that share name with those in CL_SoundOutput have the same functionality. The only difference is, that the ones CL_Sound operate on a selected sound output. This saves the trouble of passing around a pointer to the sound output, when only a single one is used anyway.</p> <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->