IXAudio2::UnregisterForCallbacks method (xaudio2.h)
Removes an IXAudio2EngineCallback pointer from the XAudio2 engine callback list.
Syntax
void UnregisterForCallbacks(
[in] IXAudio2EngineCallback *pCallback
);
Parameters
[in] pCallback
IXAudio2EngineCallback pointer to remove from the XAudio2 engine callback list. If the given pointer is present more than once in the list, only the first instance in the list will be removed.
Return value
None
Remarks
It is invalid to call UnregisterForCallbacks from within a callback (that is, IXAudio2EngineCallback or IXAudio2VoiceCallback).
Platform Requirements
Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | xaudio2.h |