Partager via


IDirectMusicAudioPath8 Interface

The IDirectMusicAudioPath8 interface manages the stages of data flow from the performance to the final mixer. An audiopath can be created from an audiopath configuration object by using the IDirectMusicPerformance8::CreateAudioPath method. A standard audiopath can be created by using IDirectMusicPerformance8::CreateStandardAudioPath. A standard default path can also be created by IDirectMusicPerformance8::InitAudio and then retrieved by using IDirectMusicPerformance8::GetDefaultAudioPath.

The IDirectMusicAudioPath8 interface can be passed to IDirectMusicPerformance8::PlaySegmentEx to play the segment on that audiopath.

IDirectMusicAudioPath8 is a type definition for IDirectMusicAudioPath. The two interface names are interchangeable.

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

Method Description
Activate Activates or deactivates the audiopath.
ConvertPChannel Translates between a performance channel in a segment and the equivalent channel allocated in the performance for the audiopath.
GetObjectInPath Retrieves an interface for an object in the audiopath.
SetVolume Sets the audio volume on the audiopath.

Requirements

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

See Also

© 2004 Microsoft Corporation. All rights reserved.