Microsoft DirectX 8.1 (C++) |
The DMUS_IO_SEGMENT_HEADER structure contains information about a segment. Used in the Segment Form.
Syntax
typedef struct _DMUS_IO_SEGMENT_HEADER {
DWORD dwRepeats;
MUSIC_TIME mtLength;
MUSIC_TIME mtPlayStart;
MUSIC_TIME mtLoopStart;
MUSIC_TIME mtLoopEnd;
DWORD dwResolution;
REFERENCE_TIME rtLength;
DWORD dwFlags;
DWORD dwReserved;
} DMUS_IO_SEGMENT_HEADER;
Members
dwRepeats
Number of repetitions.
mtLength
Length of the segment.
mtPlayStart
Start of playback, normally 0.
mtLoopStart
Start of the looping portion, normally 0.
mtLoopEnd
End of the looping portion. Must be greater than mtPlayStart, or zero to loop the entire segment.
dwResolution
Default resolution. See DMUS_TIME_RESOLVE_FLAGS.
rtLength
Length of the segment in reference time. Valid if the DMUS_SEGIOF_REFLENGTH flag is set.
dwFlags
Can be zero or the following flag.
Value | Description |
DMUS_SEGIOF_REFLENGTH | The value in rtLength overrides mtLength. |
dwReserved
Reserved.
Requirements
Header: Declared in dmusicf.h.
See Also