Segment Timing

Segments play from the beginning, unless a start point is set by a call to the IDirectMusicSegment::SetStartPoint method. If a repeat count is set by using IDirectMusicSegment::SetRepeats, the entire segment will repeat that number of times, unless a loop has been defined by a call to IDirectMusicSegment::SetLoopPoints, in which case only the part of the segment between the loop points will repeat.

The performance time at which the segment starts playing is determined by two parameters of IDirectMusicPerformance::PlaySegment:

If none of these flags is set, the segment will start playing at exactly the earliest start time.