Partager via


DMUS_IO_SEGMENT_HEADER

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; 
  REFERENCE_TIME rtLoopStart;
  REFERENCE_TIME rtLoopEnd;
  REFERENCE_TIME rtPlayStart;
} 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 0 or one or more of the following flags.

Value Description
DMUS_SEGIOF_REFLENGTH The value in rtLength overrides mtLength.
DMUS_SEGIOF_CLOCKTIME The segment is played in clock time.

dwReserved

Reserved.

rtLoopStart

Loop start in clock time.

rtLoopEnd

Loop end in clock time.

rtPlayStart

Start point in clock time.

Requirements

**  Header:** Dmusicf.h

See Also

See Also

© 2004 Microsoft Corporation. All rights reserved.