IXAudio2EngineCallback has the following members.
| Name | Description | |
|---|---|---|
![]() |
OnCriticalError | Called if a critical system error occurs that requires XAudio2 to be closed down and restarted. Note A critical error can happen when the underlying WASAPI rendering object is no longer available, such as when a headset or speaker are unplugged, a USB audio device is removed, and so on. The entire audio graph must be destroyed, audio device re-enumerated, and a new audio graph created since the various channel counts and formats could have changed. |
![]() |
OnProcessingPassEnd | Called by XAudio2 just after an audio processing pass ends. |
![]() |
OnProcessingPassStart | Called by XAudio2 just before an audio processing pass begins. |