Microsoft DirectX 8.1 (Visual Basic)

Creating Audiopaths

Applications can set up audiopaths in the following ways:

An audiopath configuration embedded in a segment can be retrieved by using DirectMusicSegment8.GetAudioPathConfig. The audiopath configuration object does not have a unique interface or methods, and your application cannot change the configuration in any way. All you can do with the object is pass it, as a variable of type IUnknown, to DirectMusicPerformance8.CreateAudioPath. For sample code, see Playing Sounds on Audiopaths.

Audiopath configurations are the only means of creating nonstandard audiopaths. For instance, if different performance channels are to be routed to different buffers, this mapping must be specified in the audiopath configuration of a segment.