The IXAudio2EngineCallback interface contains methods that notify the client when certain events happen in the IXAudio2 engine.
This interface should be implemented by the XAudio2 client. XAudio2 calls these methods via an interface pointer provided by the client, using the XAudio2Create method. Methods in this interface return void, rather than an HRESULT.
See XAudio2 Callbacks for restrictions on callback implementation.
|OnCriticalError||Called if a critical system error occurs that requires XAudio2 to be closed down and restarted.|
|OnProcessingPassEnd||Called by XAudio2 just after an audio processing pass ends.|
|OnProcessingPassStart||Called by XAudio2 just before an audio processing pass begins.|
The IXAudio2EngineCallback interface has these methods.
|IXAudio2EngineCallback::OnCriticalError||Called if a critical system error occurs that requires XAudio2 to be closed down and restarted.|
|IXAudio2EngineCallback::OnProcessingPassEnd||Called by XAudio2 just after an audio processing pass ends.|
|IXAudio2EngineCallback::OnProcessingPassStart||Called by XAudio2 just before an audio processing pass begins.|