OpenTTD Source 20241224-master-gee860a5c8e
|
Implementation of the IXAudio2VoiceCallback interface. More...
Public Member Functions | |
StreamingVoiceContext (int bufferLength) | |
HRESULT | SubmitBuffer () |
STDMETHOD_ (void, OnVoiceProcessingPassStart)(UINT32) override | |
STDMETHOD_ (void, OnVoiceProcessingPassEnd)() override | |
STDMETHOD_ (void, OnStreamEnd)() override | |
STDMETHOD_ (void, OnBufferStart)(void *) override | |
STDMETHOD_ (void, OnBufferEnd)(void *) override | |
STDMETHOD_ (void, OnLoopEnd)(void *) override | |
STDMETHOD_ (void, OnVoiceError)(void * | |
Data Fields | |
IXAudio2SourceVoice * | SourceVoice |
Private Attributes | |
int | bufferLength |
char * | buffer |
Implementation of the IXAudio2VoiceCallback interface.
Provides buffered audio to XAudio2 from the OpenTTD mixer.
Definition at line 47 of file xaudio2_s.cpp.
|
inline |
Definition at line 56 of file xaudio2_s.cpp.
|
inlinevirtual |
Definition at line 62 of file xaudio2_s.cpp.
|
inlineoverride |
Definition at line 100 of file xaudio2_s.cpp.
|
inlineoverride |
Definition at line 96 of file xaudio2_s.cpp.
|
inlineoverride |
Definition at line 105 of file xaudio2_s.cpp.
|
inlineoverride |
Definition at line 92 of file xaudio2_s.cpp.
|
inlineoverride |
Definition at line 88 of file xaudio2_s.cpp.
|
inlineoverride |
Definition at line 84 of file xaudio2_s.cpp.
|
inline |
Definition at line 67 of file xaudio2_s.cpp.
|
private |
Definition at line 51 of file xaudio2_s.cpp.
|
private |
Definition at line 50 of file xaudio2_s.cpp.
IXAudio2SourceVoice* StreamingVoiceContext::SourceVoice |
Definition at line 54 of file xaudio2_s.cpp.