Microsoft DirectX 8.1 (Visual Basic)

DirectMusicSegmentState8

The DirectMusicSegmentState8 class represents a playing instance of a segment. When the DirectMusicPerformance8.PlaySegmentEx method is called, it creates a DirectMusicSegmentState8 object that enables the application to retrieve information about that instance. The object can also be passed to methods of DirectMusicPerformance8 to determine whether a segment instance is still playing, or to stop it.

The DirectMusicSegmentState8 class has the following methods.

Method Description
GetRepeats Retrieves the number of times that the looping portion of the segment is set to repeat.
GetSeek Retrieves the seek pointer in the segment state.
GetSegment Retrieves an object representing the segment that owns this segment state.
GetStartPoint Retrieves the offset into the segment at which play began or will begin.
GetStartTime Retrieves the performance time at which the segment started or will start playing.

See Also