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.
This commit is contained in:
parent
c4b7c7d81b
commit
f3102160a1
10 changed files with 53 additions and 39 deletions
9
drivers/xaudio2/SCsub
Normal file
9
drivers/xaudio2/SCsub
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
Import('env')
|
||||
|
||||
env.add_source_files(env.drivers_sources, "*.cpp")
|
||||
env.Append(CXXFLAGS=['-DXAUDIO2_ENABLED'])
|
||||
env.Append(LINKFLAGS=['xaudio2_8.lib'])
|
||||
|
||||
Export('env')
|
||||
Loading…
Add table
Add a link
Reference in a new issue