Microsoft DirectX 9.0

DMUS_VARIATIONT_TYPES

The DMUS_VARIATIONT_TYPES enumerated type is used in the DMUS_IO_PARTREF structure to specify the way variations are selected in sequential commands.

Syntax

typedef enum enumDMUS_VARIATIONT_TYPES
{
  DMUS_VARIATIONT_SEQUENTIAL   = 0,
  DMUS_VARIATIONT_RANDOM       = 1,
  DMUS_VARIATIONT_RANDOM_START = 2,
  DMUS_VARIATIONT_NO_REPEAT    = 3,
  DMUS_VARIATIONT_RANDOM_ROW   = 4
} DMUS_VARIATIONT_TYPES;

Constants

DMUS_VARIATIONT_SEQUENTIAL

Play matching variations sequentially, in the order loaded, starting with the first.

DMUS_VARIATIONT_RANDOM

Select a random matching variation. This is the behavior in versions prior to DirectX 8.0.

DMUS_VARIATIONT_RANDOM_START

Play matching variations sequentially, in the order loaded, starting at a random point in the sequence.

DMUS_VARIATIONT_NO_REPEAT

Play randomly, but do not play the same variation twice.

DMUS_VARIATIONT_RANDOM_ROW

Play randomly, but do not repeat any variation until all have played.

Requirements

  Header: Declared in dmusicf.h.

See Also