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.

Members

The IXAudio2EngineCallback interface inherits from the IUnknown interface. IXAudio2EngineCallback also has these types of members:

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft