Microsoft DirectX 8.0 (Visual Basic) |
Adjusts the master volume of the performance.
object.SetMasterVolume(vol As Long)
If the method fails, it raises an error, and Err.Number is set.
The master volume is an amplification or attenuation factor applied to the default volume of the entire performance. The range of permitted values is determined by the port. For the default software synthesizer, the allowed range is +20dB to –200dB, but the useful range is +10dB to –100dB.