IXAudio2VoiceCallback Members

IXAudio2VoiceCallback has the following members.

Public Methods

  Name Description
OnBufferEnd Called when the voice finishes processing a buffer.
OnBufferStart Called when the voice is about to start processing a new audio buffer.
OnLoopEnd Called when the voice reaches the end position of a loop.
OnStreamEnd Called when the voice has just finished playing a contiguous audio stream.
OnVoiceError Called when a critical error occurs during voice processing.
OnVoiceProcessingPassEnd Called just after the processing pass for the voice ends.
OnVoiceProcessingPassStart Called during each processing pass for each voice, just before XAudio2 reads data from the voice’s buffer queue.

See also

IXAudio2VoiceCallback