Microsoft DirectX 8.0 (C++) |
Activates or deactivates the audiopath.
HRESULT Activate( BOOL fActivate );
If the method succeeds, the return value is S_OK, or S_FALSE if the audiopath is already in the requested state.
The behavior of this method is different from that of IDirectMusicPort8::Activate. When a port is deactivated, it no longer produces sound, but the performance can continue playing segments. When an audiopath is deactivated, all playback stops and any attempt to play a segment will fail.
Header: Declared in dmusici.h.