#include <revolution.h> void AXSetMasterVolume(u16 volume);
volume |
Master volume value. |
None.
The function AXSetMasterVolume configures the AX master volume. The volume is a 16-bit fixed point number (where the high-order bit represents the integer part and 15 bits the fractional part), and the selectable range is between 0x0000 (= 0.0) and 0x8000 (= 1.0). The default value is 0x8000 (= 1.0).
The master volume value is applied to each sample immediately before sample data synthesized by DSP is output to main memory.
If a value very different from the current value is set to the master volume (e.g., 0x8000 -> 0x0000), it may result in generation of noise. Change the master volume gradually in appropriately timed steps within the application.
Note: Master volume is not applied to Wii Remote speaker data.
2006/10/23 Initial version.
CONFIDENTIAL