|
OpenTTD Source
1.11.0-beta2
|
#include "../stdafx.h"#include "../openttd.h"#include "../driver.h"#include "../mixer.h"#include "../debug.h"#include "../core/alloc_func.hpp"#include "../core/bitmath_func.hpp"#include "../core/math_func.hpp"#include "xaudio2_s.h"#include <windows.h>#include <mmsystem.h>#include <wrl\client.h>#include <xaudio2.h>#include "../os/windows/win32.h"#include "../safeguards.h"Go to the source code of this file.
Data Structures | |
| class | StreamingVoiceContext |
| Implementation of the IXAudio2VoiceCallback interface. More... | |
Macros | |
| #define | NTDDI_VERSION NTDDI_WIN8 |
| #define | _WIN32_WINNT _WIN32_WINNT_WIN8 |
Typedefs | |
| typedef HRESULT(__stdcall * | API_XAudio2Create) (_Outptr_ IXAudio2 **ppXAudio2, UINT32 Flags, XAUDIO2_PROCESSOR XAudio2Processor) |
Variables | |
| static FSoundDriver_XAudio2 | iFSoundDriver_XAudio2 |
| static HMODULE | _xaudio_dll_handle |
| static IXAudio2SourceVoice * | _source_voice = nullptr |
| static IXAudio2MasteringVoice * | _mastering_voice = nullptr |
| static ComPtr< IXAudio2 > | _xaudio2 |
| static StreamingVoiceContext * | _voice_context = nullptr |
XAudio2 sound driver.
Definition in file xaudio2_s.cpp.