XAudio2 sound driver.
More...
#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.
|
#define | NTDDI_VERSION NTDDI_WIN8 |
|
#define | _WIN32_WINNT _WIN32_WINNT_WIN8 |
|
|
typedef HRESULT(__stdcall * | API_XAudio2Create) (_Outptr_ IXAudio2 **ppXAudio2, UINT32 Flags, XAUDIO2_PROCESSOR XAudio2Processor) |
|
|
static HRESULT | CreateXAudio (API_XAudio2Create xAudio2Create) |
| Create XAudio2 context with SEH exception checking.
|
|
|
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.