AXGetMasterVolume

Syntax

#include <revolution/ax.h>

u16 AXGetMasterVolume(void);

Arguments

None.

Return Values

Master volume value.

Description

The AXGetMasterVolume function gets the AX master volume. The volume value is a 16-bit fixed point number (where the high order bit represents the integer part and 15 bits are the fractional part) that lies in the range between 0x0000 (= 0.0) and 0x8000 (= 1.0).

The master volume value is applied to each sample immediately before sample data synthesized by DSP is output to main memory.

Note: Master volume is not applied to Wii Remote speaker data.

See Also

AXSetMasterVolume

Revision History

2006/10/23 Initial version.


CONFIDENTIAL