[APU] Load XAudio2_8.dll dynamically

This commit is contained in:
Triang3l
2018-10-23 23:34:41 +03:00
parent 00adfcadf9
commit 76c14f7e58
3 changed files with 32 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ class XAudio2AudioDriver : public AudioDriver {
void Shutdown();
private:
void* xaudio2_module_ = nullptr;
IXAudio2* audio_ = nullptr;
IXAudio2MasteringVoice* mastering_voice_ = nullptr;
IXAudio2SourceVoice* pcm_voice_ = nullptr;