Moai SDK
1.5 revision 1 (MoaiEdition)
|
Inherits MOAIGlobalClass< TYPE, SUPER >.
Function List | |
getSampleRate | |
initialize | |
setSampleRate | |
setVolume | |
getVolume |
Return the system's current sample rate.
function getSampleRate ()
Return the system's current volume.
function getVolume ()
Initialize the sound system.
function initialize ( [ number sampleRate, number numFrames ] )
sampleRate | ( number ) Optional. Default value is 44100. |
numFrames | ( number ) Optional. Default value is 8192 |
Set the system sample rate.
function setSampleRate ( [ number sampleRate ] )
sampleRate | ( number ) Optional. Default value is 44100. |
Set the system level volume.
function setVolume ( [ number volume ] )
volume | ( number ) Optional. Valid Range: 0 >= x <= 1.0 (Default value is 1.0) |