Microsoft DirectX 8.0 (Visual Basic) |
Creates an object that represents the stages in data flow from the performance to DirectSound buffers. This method can be used instead of DirectMusicPerformance8.CreateAudioPath to create a basic predefined audiopath rather than one defined in a source file.
object.CreateStandardAudioPath( _ lType As CONST_DMUSIC_STANDARD_AUDIO_PATH, _ lPChannelCount As Long, _ fActive As Boolean _ ) As DirectMusicAudioPath8
Returns a DirectMusicAudioPath8 object.
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
DMUS_E_NOT_INIT |
DMUS_E_AUDIOPATHS_NOT_VALID |
DMUS_E_INVALIDARG |
DMUS_E_OUTOFMEMORY |