Microsoft DirectX 8.1 (Visual Basic) |
The DirectMusicAudioPath8 class represents the stages of data flow from the performance to the DirectSound buffer. A standard audiopath can be created by using DirectMusicPerformance8.CreateStandardAudioPath. A standard default path can also be created by DirectMusicPerformance8.InitAudio and retrieved by using DirectMusicPerformance8.GetDefaultAudioPath. Finally, an audiopath can be created from an audiopath configuration in a segment by using the DirectMusicPerformance8.CreateAudioPath method.
A DirectMusicAudioPath8 object is passed to DirectMusicPerformance8.PlaySegmentEx to play the segment on that audiopath.
The DirectMusicAudioPath8 class has the following methods.
Method | Description |
Activate | Activates or deactivates the audiopath. |
GetObjectInPath | Retrieves an object in the audiopath. |
SetVolume | Sets the audio volume on the path. |