Microsoft DirectX 8.0 (C++)

DMUS_COMMAND_PARAM_2

Used as the pParam parameter in calls to various get-parameter and set-parameter methods when the track is a command track and the rguidType parameter is GUID_CommandParam2.

typedef struct _DMUS_COMMAND_PARAM_2 {
    MUSIC_TIME mtTime;
    BYTE bCommand;
    BYTE bGrooveLevel;
    BYTE bGrooveRange;
    BYTE bRepeatMode;
} DMUS_COMMAND_PARAM_2;

Members

mtTime
Time of the command.
bCommand
Command type. See DMUS_COMMANDT_TYPES.
bGrooveLevel
Groove level of the command. The groove level is a value in the range from 1 through 100.
bGrooveRange
Amount by which the groove level can be randomized. For instance, if the groove level is 35 and the range is 4, the groove level could be anywhere from 33 through 37. If bGrooveRange is an odd number, 1 is subtracted from it.
bRepeatMode
Flag that specifies how patterns are selected for repetition. See DMUS_PATTERNT_TYPES.

Requirements

  Header: Declared in dmusici.h.

See Also

IDirectMusicPerformance8::GetParam, IDirectMusicPerformance8::SetParam, IDirectMusicSegment8::GetParam, IDirectMusicSegment8::SetParam, IDirectMusicTrack8::GetParamEx, IDirectMusicTrack8::SetParamEx