GetVolume( Device,Channel )
The current volume setting of the device as a percentage.
Device – the name of the device for which you want to get the volume. The device names are: "Wave", "Midi", "CD". The device name must be surrounded by quotes. This parameter is required.
Channel – the name of the channel you want to set. This only applies if Device is "Wave". This parameter is not required. The default value is -1 which gets the master wave volume.
This function will get the current volume level for the specified device.
see also:SetVolume (device), SetVolume (Sound object), GetVolume (Sound object)