SetSampleVolume
SetSampleVolume

Sets the overall sample volume of the game

bSuccess = mySounds.SetSampleVolume( Volume )

Return value
TRUE if the volume was changed successfully, otherwise FALSE.

Parameters
  • Volume
    Volume to change to, from 0 to 100
Comments

Setting the volume will effect all currently playing samples, as well as all future samples. Each sample's origonal independant volume is also remembered, and taken into account by this function.
0 is equivilent to muting the samples, 100 is the default value. Values above 100 are not accepted.

See also
Special:GetSampleVolume
Special:SetSampleMute
Special:SetMusicVolume



JAM © 2005 no one in partiular
Project started by David Evans in 2005