diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2017-12-06 12:24:32 -0500 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2017-12-06 12:24:32 -0500 |
commit | 52015b0cc8cfca94e7e4b0ae15711f0a2494b59d (patch) | |
tree | 98e05941465bddd678bb55f80cb1d61d4e691d10 /VisualC | |
parent | 36457bef546507946bb9a0d2e7e6e150da8d373e (diff) |
audio: Port WASAPI to WinRT, remove XAudio2 backend.
XAudio2 doesn't have capture support, so WASAPI was to replace it; the holdout
was WinRT, which still needed it as its primary audio target until the WASAPI
code code be made to work.
The support matrix now looks like:
WinXP: directsound by default, winmm as a fallback for buggy drivers.
Vista+: WASAPI (directsound and winmm as fallbacks for debugging).
WinRT: WASAPI
Diffstat (limited to 'VisualC')
-rw-r--r-- | VisualC/SDL/SDL.vcxproj | 5 | ||||
-rw-r--r-- | VisualC/SDL/SDL.vcxproj.filters | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/VisualC/SDL/SDL.vcxproj b/VisualC/SDL/SDL.vcxproj index a4fb4478dd..a3d6f86d86 100644 --- a/VisualC/SDL/SDL.vcxproj +++ b/VisualC/SDL/SDL.vcxproj @@ -291,6 +291,7 @@ <ClInclude Include="..\..\src\audio\directsound\SDL_directsound.h" /> <ClInclude Include="..\..\src\audio\disk\SDL_diskaudio.h" /> <ClInclude Include="..\..\src\audio\dummy\SDL_dummyaudio.h" /> + <ClInclude Include="..\..\src\audio\wasapi\SDL_wasapi.h" /> <ClInclude Include="..\..\src\audio\SDL_audio_c.h" /> <ClInclude Include="..\..\src\audio\SDL_audiodev_c.h" /> <ClInclude Include="..\..\src\audio\SDL_sysaudio.h" /> @@ -389,9 +390,9 @@ <ClCompile Include="..\..\src\audio\SDL_audiotypecvt.c" /> <ClCompile Include="..\..\src\audio\SDL_mixer.c" /> <ClCompile Include="..\..\src\audio\SDL_wave.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\audio\wasapi\SDL_wasapi.c" /> + <ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi_win32.c" /> <ClCompile Include="..\..\src\core\windows\SDL_windows.c" /> <ClCompile Include="..\..\src\core\windows\SDL_xinput.c" /> <ClCompile Include="..\..\src\cpuinfo\SDL_cpuinfo.c" /> diff --git a/VisualC/SDL/SDL.vcxproj.filters b/VisualC/SDL/SDL.vcxproj.filters index dcfd74a707..ce33f05997 100644 --- a/VisualC/SDL/SDL.vcxproj.filters +++ b/VisualC/SDL/SDL.vcxproj.filters @@ -438,7 +438,8 @@ <ClCompile Include="..\..\src\video\windows\SDL_windowsvideo.c" />
<ClCompile Include="..\..\src\video\windows\SDL_windowswindow.c" />
<ClCompile Include="..\..\src\audio\winmm\SDL_winmm.c" />
- <ClCompile Include="..\..\src\audio\xaudio2\SDL_xaudio2.c" />
+ <ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
+ <ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi_win32.c" />
<ClCompile Include="..\..\src\core\windows\SDL_xinput.c" />
<ClCompile Include="..\..\src\haptic\windows\SDL_xinputhaptic.c" />
<ClCompile Include="..\..\src\joystick\windows\SDL_xinputjoystick.c" />
|