summaryrefslogtreecommitdiffstats
path: root/platform/windows/os_windows.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-10-18 07:22:10 +0200
committerGitHub <noreply@github.com>2016-10-18 07:22:10 +0200
commitc23e8797f1bec30defd1903cfeef0992cb1f1a89 (patch)
tree1523906d8fed1f81c54f75327698dad6fd9bd88a /platform/windows/os_windows.cpp
parente96c49f849fd9c5e41c8284c7122ec94909badac (diff)
parent05bf24b9a5208dbfcde8006cfc0625e57125107e (diff)
downloadredot-engine-c23e8797f1bec30defd1903cfeef0992cb1f1a89.tar.gz
Merge pull request #6855 from vnen/xaudio2-driver
Isolate XAudio2 driver
Diffstat (limited to 'platform/windows/os_windows.cpp')
-rw-r--r--platform/windows/os_windows.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 0ca5d3bd0f..38e738a414 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -2418,6 +2418,9 @@ OS_Windows::OS_Windows(HINSTANCE _hInstance) {
#ifdef RTAUDIO_ENABLED
AudioDriverManagerSW::add_driver(&driver_rtaudio);
#endif
+#ifdef XAUDIO2_ENABLED
+ AudioDriverManagerSW::add_driver(&driver_xaudio2);
+#endif
}