DirectX SDK |
The members of the CONST_DMUS_SEGF_FLAGS enumeration are used in various methods of the DirectMusicPerformance object to control the timing and other aspects of actions on a segment.
Enum CONST_DMUS_SEGF_FLAGS DMUS_SEGF_AFTERPREPARETIME = 1024 (&H400) DMUS_SEGF_BEAT = 4096 (&H1000) DMUS_SEGF_CONTROL = 512 (&H200) DMUS_SEGF_DEFAULT = 16384 (&H4000) DMUS_SEGF_GRID = 2048 (&H800) DMUS_SEGF_MEASURE = 8192 (&H2000) DMUS_SEGF_NOINVALIDATE = 32768 (&H8000) DMUS_SEGF_QUEUE = 256 (&H100) DMUS_SEGF_REFTIME = 64 (&H40) DMUS_SEGF_SECONDARY = 128 (&H80) End Enum
Normally, the primary segment is the control segment. The DMUS_SEGF_CONTROL flag can be used to make a secondary segment the control segment. There should be only one control segment at a time. (It is possible to create multiple control segments, but there is no guarantee of which one will actually be used by DirectMusic as the control segment.) By default, only the control segment sends tempo messages.
If the DMUS_SEGF_CONTROL flag is set, DMUS_SEGF_SECONDARY is assumed.
DirectMusicPerformance.GetResolvedTime, DirectMusicPerformance.Invalidate, DirectMusicPerformance.PlaySegment, DirectMusicPerformance.Stop