Microsoft DirectX 9.0 SDK Update (October 2004)

IDirectMusicSegmentState8 Interface

The IDirectMusicSegmentState8 interface represents a playing instance of a segment. When the IDirectMusicPerformance8::PlaySegment or IDirectMusicPerformance8::PlaySegmentEx method is called, the performance creates a segment state object that tracks the state of the playing segment. This object be passed toIDirectMusicPerformance8::StopEx.

IDirectMusicSegmentState8 supersedes IDirectMusicSegmentState and adds new methods.

In addition to the methods inherited from IUnknown, the IDirectMusicSegmentState8 interface exposes the following methods.

Method Description
GetObjectInPath Retrieves an interface for an object in the audiopath on which this segment state is playing.
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 a pointer to the segment that owns this segment state.
GetStartPoint Retrieves the time within the segment at which it started playing.
GetStartTime Retrieves the performance time at which the segment started playing.
SetTrackConfig Sets the configuration of a track in the parent segment.

Requirements

  Header: Dmusici.h
  Library: Dmime.dll, Dmimed.dll

See Also


© 2004 Microsoft Corporation. All rights reserved.