Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IXAudio2EngineCallback interface

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.

Methods

The IXAudio2EngineCallback interface has these methods.

MethodDescription
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.

 

Remarks

Platform Requirements

Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Header

Xaudio2.h

Library

Xaudio2.lib

See also

XAudio2 Interfaces
XAudio2 Callbacks

 

 

Show:
© 2016 Microsoft