summaryrefslogtreecommitdiff
path: root/drivers/SCsub
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-10-17 13:40:45 -0200
committerGeorge Marques <george@gmarqu.es>2016-10-17 20:42:12 -0200
commitf3102160a1c0280ddd3e1873a50a2efddfe8c35b (patch)
tree567e6bd555a67ece9e32fead9dad8c976856571b /drivers/SCsub
parentc4b7c7d81bf3d4750aa5a824ec108ba121565c48 (diff)
Isolate XAudio2 driver
Now it's possible to compile for Windows platform if wanted. It's supported only for Windows 8 or later, so it's not enabled by default.
Diffstat (limited to 'drivers/SCsub')
-rw-r--r--drivers/SCsub2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/SCsub b/drivers/SCsub
index c496f46a1f..7a67646eda 100644
--- a/drivers/SCsub
+++ b/drivers/SCsub
@@ -14,6 +14,8 @@ SConscript('alsa/SCsub');
SConscript('pulseaudio/SCsub');
if (env["platform"] == "windows"):
SConscript("rtaudio/SCsub");
+if (env["xaudio2"] == "yes"):
+ SConscript("xaudio2/SCsub");
# Graphics drivers
SConscript('gles2/SCsub');