IXAudio2VoiceCallback

IXAudio2VoiceCallback: Client notification interface for voice events.

REMARKS: Contains methods to notify the client when certain events happen in an XAudio2 voice. This interface should be implemented by the client. XAudio2 will call these methods via an interface pointer provided by the client in the IXAudio2::CreateSourceVoice call.

Members

Functions

OnBufferEnd
void OnBufferEnd(void* pBufferContext)
Undocumented in source.
OnBufferStart
void OnBufferStart(void* pBufferContext)
Undocumented in source.
OnLoopEnd
void OnLoopEnd(void* pBufferContext)
Undocumented in source.
OnStreamEnd
void OnStreamEnd()
Undocumented in source.
OnVoiceError
void OnVoiceError(void* pBufferContext, HRESULT Error)
Undocumented in source.
OnVoiceProcessingPassEnd
void OnVoiceProcessingPassEnd()
Undocumented in source.
OnVoiceProcessingPassStart
void OnVoiceProcessingPassStart(UINT32 BytesRequired)
Undocumented in source.

Meta