The IXAudio2VoiceCallback interface contains methods that notify the client when certain events happen in a given IXAudio2SourceVoice.
This interface should be implemented by the XAudio2 client. XAudio2 calls these methods through an interface pointer provided by the client in the IXAudio2::CreateSourceVoice method. Methods in this interface return void, rather than an HRESULT.
See the XAudio2 Callbacks topic for restrictions on callback implementation.
interface IXAudio2VoiceCallback
Header: Declared in xaudio2.h.
Library: Use xaudio2.lib.