Microsoft DirectX 8.0 (C++) |
Not implemented in DirectX 8.0.
Describes a transition. Used in the Song Form.
typedef struct _DMUS_IO_TRANSITION_DEF { DWORD dwSegmentID; DWORD dwTransitionID; DWORD dwPlayFlags; } DMUS_IO_TRANSITION_DEF;
This structure describes a valid transition from another segment to this segment. When a song segment is played with the DMUS_SEGF_AUTOTRANSITION flag, a transition segment is composed and played. To find the appropriate transition segment, the performance looks at the currently playing segment and sees if it is a segment in the song. If it is, it gets the ID of that segment and then searches for it in the transition table of the destination segment. When it finds a match in dwSourceSegment, the performance composes dwTransitionSegment and plays it, using the dwPlayFlags.
Header: Declared in dmusicf.h.