Microsoft DirectX 8.0 (C++) |
Sets and activates the default audiopath for the performance.
HRESULT SetDefaultAudioPath( IDirectMusicAudioPath *pAudioPath );
If it succeeds, the method returns S_OK.
If it fails, the method can return one of the following error values:
DMUS_E_AUDIOPATH_NOPORT |
DMUS_E_AUDIOPATHS_NOT_VALID |
DMUS_E_NOT_INIT |
E_INVALIDARG |
E_POINTER |
Header: Declared in dmusici.h.
IDirectMusicPerformance8::GetDefaultAudioPath, IDirectMusicPerformance8::InitAudio.