<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libmpdclient: mpd/mixer.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>mpd/mixer.h File Reference</h1> <p>MPD client library. <a href="#_details">More...</a></p> <p><a href="mixer_8h_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="mixer_8h.html#acc8cd4f2aeaa720708e5b527781fd926">mpd_send_set_volume</a> (struct <a class="el" href="structmpd__connection.html">mpd_connection</a> *connection, unsigned volume)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="mixer_8h.html#a4e0a0b2e5283fa80aac7ba128e2aa7db">mpd_run_set_volume</a> (struct <a class="el" href="structmpd__connection.html">mpd_connection</a> *connection, unsigned volume)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>MPD client library. </p> <p>Functions for manipulating MPD's mixer controls.</p> <p>Do not include this header directly. Use <a class="el" href="client_8h.html" title="MPD client library.">mpd/client.h</a> instead. </p> <p>Definition in file <a class="el" href="mixer_8h_source.html">mixer.h</a>.</p> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a4e0a0b2e5283fa80aac7ba128e2aa7db"></a><!-- doxytag: member="mixer.h::mpd_run_set_volume" ref="a4e0a0b2e5283fa80aac7ba128e2aa7db" args="(struct mpd_connection *connection, unsigned volume)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mpd_run_set_volume </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structmpd__connection.html">mpd_connection</a> * </td> <td class="paramname"> <em>connection</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned </td> <td class="paramname"> <em>volume</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Shortcut for <a class="el" href="mixer_8h.html#acc8cd4f2aeaa720708e5b527781fd926">mpd_send_set_volume()</a> and <a class="el" href="response_8h.html#af59dc292f7df1ffce944972dd4a7150f">mpd_response_finish()</a>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>connection</em> </td><td>the connection to MPD </td></tr> <tr><td valign="top"></td><td valign="top"><em>volume</em> </td><td>the volume, an integer between 0 and 100 </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true on success, false on error </dd></dl> </div> </div> <a class="anchor" id="acc8cd4f2aeaa720708e5b527781fd926"></a><!-- doxytag: member="mixer.h::mpd_send_set_volume" ref="acc8cd4f2aeaa720708e5b527781fd926" args="(struct mpd_connection *connection, unsigned volume)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mpd_send_set_volume </td> <td>(</td> <td class="paramtype">struct <a class="el" href="structmpd__connection.html">mpd_connection</a> * </td> <td class="paramname"> <em>connection</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned </td> <td class="paramname"> <em>volume</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the volume of all output devices.</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>connection</em> </td><td>the connection to MPD </td></tr> <tr><td valign="top"></td><td valign="top"><em>volume</em> </td><td>the volume, an integer between 0 and 100 </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true on success, false on error </dd></dl> </div> </div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Sun Aug 8 15:52:35 2010 for libmpdclient by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>