Microsoft DirectX 8.1 (Visual Basic)

DirectMusicPerformance8.SetMasterGrooveLevel

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

object.SetMasterGrooveLevel(level As Integer)

Parts

object

Resolves to a DirectMusicPerformance8 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

Remarks

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

See Also