1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>WPADSetSpeakerVolume</title> 10</head> 11 12<body> 13 14<h1>WPADSetSpeakerVolume</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/wpad.h> 19 20void WPADSetSpeakerVolume( u8 volume ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <TBODY> 26 <TR> 27<TH>volume</TH> 28<TD>Speaker volume to be set. Set <SPAN class="argument">volume</SPAN> using a value ranging from 0 to 127.</TD> 29 </TR> 30 </TBODY> 31</TABLE> 32 33<h2>Return Values</h2> 34<p> 35None. 36</p> 37 38<H2>Description</H2> 39<p> 40Sets the volume of the Wii Remote speaker. The volume set by this function is applied to all of the Wii Remotes. Set the volume before launching the speaker using the <a href="WPADControlSpeaker.html"><code>WPADControlSpeaker</code></a> function. Note that changes will not be reflected in a Wii Remote if its speaker is already running. <font color="red"><b>This function may be used for debugging, but it should not be used from any application other than the HOME Menu in the retail version.</b></font> 41</p> 42<p> 43Although the speaker's volume setting can be recorded in the Wii console using the <a href="./WPADSaveConfig.html"><code>WPADSaveConfig</code></a> function, this function should also not be called from applications other than the Home Menu in the retail version. 44</p> 45 46<h2>See Also</h2> 47<p class="reference"> 48<A href="./WPADControlSpeaker.html">WPADControlSpeaker</A>, 49<A href="./WPADGetSpeakerVolume.html">WPADGetSpeakerVolume</A>, 50<A href="./WPADSaveConfig.html">WPADSaveConfig</A> 51</p> 52 53<H2>Revision History</H2> 54<P> 552008/03/17 Strengthened the warning about calling this function in the retail version.<br>2006/08/15 Initial version.<br> 56</P> 57 58<hr><p>CONFIDENTIAL</p></body> 59</html>