Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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
- Loading branch information
Showing
with
958 additions
and 1,518 deletions.
- +1 −8 CMakeLists.txt
- +3 −4 VisualC-WinRT/UWP_VS2015/SDL-UWP.vcxproj
- +3 −6 VisualC-WinRT/UWP_VS2015/SDL-UWP.vcxproj.filters
- +7 −7 VisualC-WinRT/WinPhone80_VS2012/SDL-WinPhone80.vcxproj
- +3 −3 VisualC-WinRT/WinPhone80_VS2012/SDL-WinPhone80.vcxproj.filters
- +7 −7 VisualC-WinRT/WinPhone81_VS2013/SDL-WinPhone81.vcxproj
- +3 −3 VisualC-WinRT/WinPhone81_VS2013/SDL-WinPhone81.vcxproj.filters
- +9 −9 VisualC-WinRT/WinRT80_VS2012/SDL-WinRT80.vcxproj
- +3 −3 VisualC-WinRT/WinRT80_VS2012/SDL-WinRT80.vcxproj.filters
- +9 −9 VisualC-WinRT/WinRT81_VS2013/SDL-WinRT81.vcxproj
- +3 −3 VisualC-WinRT/WinRT81_VS2013/SDL-WinRT81.vcxproj.filters
- +3 −2 VisualC/SDL/SDL.vcxproj
- +2 −1 VisualC/SDL/SDL.vcxproj.filters
- +0 −5 configure.in
- +4 −1 docs/README-winrt.md
- +0 −2 include/SDL_config.h.cmake
- +0 −1 include/SDL_config.h.in
- +0 −1 include/SDL_config_windows.h
- +1 −1 include/SDL_config_winrt.h
- +1 −1 src/SDL_internal.h
- +11 −4 src/audio/SDL_audio.c
- +1 −1 src/audio/SDL_sysaudio.h
- +153 −384 src/audio/wasapi/SDL_wasapi.c
- +37 −1 src/audio/wasapi/SDL_wasapi.h
- +418 −0 src/audio/wasapi/SDL_wasapi_win32.c
- +276 −0 src/audio/wasapi/SDL_wasapi_winrt.cpp
- +0 −505 src/audio/xaudio2/SDL_xaudio2.c
- +0 −386 src/audio/xaudio2/SDL_xaudio2.h
- +0 −90 src/audio/xaudio2/SDL_xaudio2_winrthelpers.cpp
- +0 −70 src/audio/xaudio2/SDL_xaudio2_winrthelpers.h
Oops, something went wrong.