CommonLibSSE (Parapets fork)
IXAudio2VoiceCallback.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  struct __declspec(novtable) IXAudio2VoiceCallback
6  {
7  public:
8  inline static constexpr auto RTTI = RTTI_IXAudio2VoiceCallback;
9 
10  // add
11  virtual void OnVoiceProcessingPassStart(std::uint32_t a_bytesRequired) = 0; // 00
12  virtual void OnVoiceProcessingPassEnd() = 0; // 01
13  virtual void OnStreamEnd() = 0; // 02
14  virtual void OnBufferStart(void* a_bufferContext) = 0; // 03
15  virtual void OnBufferEnd(void* a_bufferContext) = 0; // 04
16  virtual void OnLoopEnd(void* a_bufferContext) = 0; // 05
17  virtual void OnVoiceError(void* a_bufferContext, std::int32_t a_error) = 0; // 06
18  };
19 }
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_IXAudio2VoiceCallback
Definition: Offsets_RTTI.h:5038