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 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/wpad.h> 21 22void WPADSetSpeakerVolume( u8 volume ); 23 </code></pre></dd> 24</dl> 25 26<h2>Arguments</h2> 27<TABLE border="1"> 28 <TBODY> 29 <TR> 30<TD width="120" bgcolor="#ffffe8"><code><b><i>volume</i></b></code></TD> 31<TD>Speaker volume to be set. Set <i>volume</i> using a value ranging from 0 to 127.</TD> 32 </TR> 33 </TBODY> 34</TABLE> 35<h2>Return Values</h2> 36<p> 37None. 38</p> 39 40<H2>Description</H2> 41<p> 42Sets the volume settings 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. Be aware that changes will not be reflected for Wii Remotes whose speakers have already been launched. 43</p> 44<p> 45The current volume setting can be recorded to the Wii Console using the function <a href="./WPADSaveConfig.html"><code>WPADSaveConfig</code></a>. 46</p> 47 48<h2>See Also</h2> 49<p> 50<A href="./toc.html" target="contents">WPAD Functions</A><br> <A href="./WPADControlSpeaker.html"><CODE>WPADControlSpeaker</CODE></A>, <A href="./WPADGetSpeakerVolume.html"><CODE>WPADGetSpeakerVolume</CODE></A>, <A href="./WPADSaveConfig.html"><CODE>WPADSaveConfig</CODE></A><br> 51</p> 52 53<H2>Revision History</H2> 54<P>2006/08/15 Initial version.</P> 55 56<hr> 57<P>CONFIDENTIAL</p> 58</BODY> 59</HTML>