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 --HG-- extra : amend_source : a28a9a9fbb09c4c25df05fa0a754fce0bee62335 extra : histedit_source : e5727ceb1a5db5806ce02534d8ffe4892eb6f5d9
This commit is contained in:
parent
8b08b7b07b
commit
1745441419
30 changed files with 958 additions and 1518 deletions
|
@ -175,7 +175,7 @@ typedef unsigned int uintptr_t;
|
|||
#define HAVE__FSEEKI64 1
|
||||
|
||||
/* Enable various audio drivers */
|
||||
#define SDL_AUDIO_DRIVER_XAUDIO2 1
|
||||
#define SDL_AUDIO_DRIVER_WASAPI 1
|
||||
#define SDL_AUDIO_DRIVER_DISK 1
|
||||
#define SDL_AUDIO_DRIVER_DUMMY 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue