From 2c1be22c512ef5a07a52c40150a4a2387b2007dc Mon Sep 17 00:00:00 2001 From: vsonnier Date: Wed, 27 Sep 2017 21:45:08 +0200 Subject: [PATCH] Well, looks like WASAPI audio create crashes on Windows, so revert to good old DirectSound for audio --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e7b5ee..6a65c6b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -190,8 +190,8 @@ IF (WIN32) # Audio device selection is not mandatory, dummy audio device is used if none are compiled in. # Can also compile support for more than one simultaneously. - set(USE_AUDIO_DS OFF CACHE BOOL "Include support for DirectSound") - set(USE_AUDIO_WASAPI ON CACHE BOOL "Include support for WASAPI Audio") + set(USE_AUDIO_DS ON CACHE BOOL "Include support for DirectSound") + set(USE_AUDIO_WASAPI OFF CACHE BOOL "Include support for WASAPI Audio") # TODO: # set(USE_AUDIO_ASIO OFF CACHE BOOL "Include support for ASIO Audio")