Microsoft DirectX 9.0 SDK Update (October 2004)

DMUS_COMMAND_PARAM_2

The DMUS_COMMAND_PARAM_2 structure is 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.

Syntax

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: Dmusici.h

See Also


© 2004 Microsoft Corporation. All rights reserved.