From 2fae24ff0446ffeb87a8b6acc817fca83e7adf1b Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 13 Nov 2016 11:24:20 +1000 Subject: [PATCH] Disable DirectSound for UWP. --- mini_al.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mini_al.h b/mini_al.h index 88fdf38a..f3f9d1a4 100644 --- a/mini_al.h +++ b/mini_al.h @@ -162,7 +162,7 @@ extern "C" { #endif #endif -#if !defined(MAL_NO_DSOUND) && defined(MAL_WIN32) +#if !defined(MAL_NO_DSOUND) && defined(MAL_WIN32) && (!defined(WINAPI_FAMILY) || WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) #define MAL_ENABLE_DSOUND #endif #if !defined(MAL_NO_ALSA) && defined(MAL_LINUX) && !defined(MAL_ANDROID)