diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2017-02-14 03:03:27 -0500 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2017-02-14 03:03:27 -0500 |
commit | dfa0023b37375c3a91e8f016c5e63c9cc1716832 (patch) | |
tree | 386ffa76a796b10d839583d3b3485a5c2db15292 /VisualC | |
parent | 7a4c0640421785f0383cf88516892b7994d35f13 (diff) | |
download | sdl-dfa0023b37375c3a91e8f016c5e63c9cc1716832.tar.gz |
wasapi: Initial WASAPI support, for Windows Vista and later.
This should remain binary compatible with Windows XP, as we dynamically
load anything we need and fall back to DirectSound/WinMM/XAudio2 if not
available.
Diffstat (limited to 'VisualC')
-rw-r--r-- | VisualC/SDL/SDL.vcxproj | 2 | ||||
-rw-r--r-- | VisualC/SDL/SDL_VS2008.vcproj | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/VisualC/SDL/SDL.vcxproj b/VisualC/SDL/SDL.vcxproj index 1615d6c3b..7f1da62b1 100644 --- a/VisualC/SDL/SDL.vcxproj +++ b/VisualC/SDL/SDL.vcxproj @@ -361,6 +361,7 @@ <ClInclude Include="..\..\src\video\windows\SDL_windowsshape.h" /> <ClInclude Include="..\..\src\video\windows\SDL_windowsvideo.h" /> <ClInclude Include="..\..\src\video\windows\SDL_windowswindow.h" /> + <ClInclude Include="..\..\src\audio\wasapi\SDL_wasapi.h" /> <ClInclude Include="..\..\src\audio\winmm\SDL_winmm.h" /> <ClInclude Include="..\..\src\core\windows\SDL_xinput.h" /> <ClInclude Include="..\..\src\haptic\windows\SDL_xinputhaptic_c.h" /> @@ -491,6 +492,7 @@ <ClCompile Include="..\..\src\video\windows\SDL_windowsshape.c" /> <ClCompile Include="..\..\src\video\windows\SDL_windowsvideo.c" /> <ClCompile Include="..\..\src\video\windows\SDL_windowswindow.c" /> + <ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" /> <ClCompile Include="..\..\src\audio\winmm\SDL_winmm.c" /> <ClCompile Include="..\..\src\audio\xaudio2\SDL_xaudio2.c" /> <ClCompile Include="..\..\src\core\windows\SDL_xinput.c" /> diff --git a/VisualC/SDL/SDL_VS2008.vcproj b/VisualC/SDL/SDL_VS2008.vcproj index 2675dbceb..ad5259775 100644 --- a/VisualC/SDL/SDL_VS2008.vcproj +++ b/VisualC/SDL/SDL_VS2008.vcproj @@ -1438,6 +1438,14 @@ >
</File>
<File
+ RelativePath="..\..\src\audio\wasapi\SDL_wasapi.c"
+ >
+ </File>
+ <File
+ RelativePath="..\..\src\audio\wasapi\SDL_wasapi.h"
+ >
+ </File>
+ <File
RelativePath="..\..\src\audio\winmm\SDL_winmm.c"
>
</File>
|