IAudioSourceSusp::AudioSource

HRESULT AudioSource(PIUNKNOWN pAudioSource);

Passes the address of an audio source object to be suspendable.

· Returns NOERROR if successful, or one of these error values:

E_INVALIDARG
E_OUTOFMEMORY
AUDERR_INVALIDNOTIFYSINK

pAudioSource

[in] Address of the IUnknown interface of the audio source object.

This must be called before any other function is in the IAudioSourceSusp is called. It can only be called once. The suspending audio source will rout all calls to IAudio, IAudioSource, and IAudioSourceNotifySink to/from pIAudioSource's versions of the same interfaces. When the suspending audio object is released it will call release an interfaces to the pAudioSource object.