Platform SDK: DirectX

DirectMusicPerformance.SetMasterGrooveLevel

The DirectMusicPerformance.SetMasterGrooveLevel method sets a value to be added to all groove levels in the performance.

object.SetMasterGrooveLevel(level As Integer)

Parameters

object
Object expression that resolves to a DirectMusicPerformance object.
level
Value to add to the groove level, in the range from –99 through 99.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to one of the following values:

DMUS_E_FAIL
DMUS_E_OUTOFMEMORY

See Also

DirectMusicPerformance.GetMasterGrooveLevel

Remarks

The adjusted groove level is always in the range from 1 through 100.