GetVolume()

Example 1:

var Volume = GetVolume("CD")
// get the current volume of the CD channel

Example 2:

var Volume = GetVolume("Wave")
// get the master wave volume

Example 3:

var Volume = GetVolume("Wave",2)
// get the wave volume of channel 2

Example 4:

var Volume = GetVolume("Wave",-1)
// get the master wave volume