Platform SDK: DirectX

DirectMusicPerformance.GetMasterVolume

The DirectMusicPerformance.GetMasterVolume method retrieves the current master volume.

object.GetMasterVolume() As Long

Parameters

object
Object expression that resolves to a DirectMusicPerformance object.

Return Values

If the method succeeds, it returns the current master volume, in hundredths of a decibel.

Error Codes

If the method fails, it raises an error, and Err.Number is set.

Remarks

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.

See Also

DirectMusicPerformance.SetMasterVolume