Microsoft DirectX 8.0 (C++)

IDirectMusicSegment8

The IDirectMusicSegment8 interface represents a segment, a piece of music made up of multiple tracks. Most applications deal with musical data at the segment level. For an overview, see Using Segments.

The DirectMusicSegment object also supports the IDirectMusicObject8 and IPersistStream interfaces for loading its data.

IDirectMusicSegment8 supersedes the IDirectMusicSegment interface and introduces new methods.

The methods of the IDirectMusicSegment8 interface can be grouped as follows:

Instruments Download
  Unload
Notification AddNotificationType
  RemoveNotificationType
Parameters GetParam
  SetParam
Timing and looping GetDefaultResolution
  GetLength
  GetLoopPoints
  GetRepeats
  GetStartPoint
  SetDefaultResolution
  SetLength
  SetLoopPoints
  SetRepeats
  SetStartPoint
Tools GetGraph
  SetGraph
Tracks GetTrack
  GetTrackGroup
  InsertTrack
  RemoveTrack
  SetTrackConfig
Miscellaneous Clone
  Compose
  GetAudioPathConfig
  InitPlay
  SetPChannelsUsed

All COM interfaces inherit the IUnknown interface methods. This interface supports the following three methods:

IUnknown AddRef
  QueryInterface
  Release

Requirements

  Header: Declared in dmusici.h.