WPADSetSpeakerVolume

Syntax

#include <revolution/wpad.h>

void WPADSetSpeakerVolume( u8 volume );

Arguments

volume Speaker volume to be set. Set volume using a value ranging from 0 to 127.

Return Values

None.

Description

Sets 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 WPADControlSpeaker function. Note that changes will not be reflected in a Wii Remote if its speaker is already running. 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.

Although the speaker's volume setting can be recorded in the Wii console using the WPADSaveConfig function, this function should also not be called from applications other than the Home Menu in the retail version.

See Also

WPADControlSpeaker, WPADGetSpeakerVolume, WPADSaveConfig

Revision History

2008/03/17 Strengthened the warning about calling this function in the retail version.
2006/08/15 Initial version.


CONFIDENTIAL