From 0ad02dc72d2c3c6b7570cd18ab7f990cacee459e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 19 Jul 2019 17:31:08 +0200 Subject: [PATCH] (Qb) Add way to exclude WASAPI --- qb/config.libs.sh | 5 ++++- qb/config.params.sh | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index d43768018d..454a41ee5c 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -315,7 +315,10 @@ if [ "$OS" = 'Win32' ]; then HAVE_XINPUT=yes fi - HAVE_WASAPI=yes + if [ "$HAVE_WASAPI" != 'no' ]; then + HAVE_WASAPI=yes + fi + HAVE_XAUDIO=yes HAVE_WINMM=yes fi diff --git a/qb/config.params.sh b/qb/config.params.sh index 24de0c20c0..d0ae56fe9a 100644 --- a/qb/config.params.sh +++ b/qb/config.params.sh @@ -19,6 +19,7 @@ HAVE_STRIPES=no # Stripes menu HAVE_RUNAHEAD=yes # Runahead support HAVE_SSL=auto # SSL/mbedtls support HAVE_DSOUND=auto # DirectSound support +HAVE_WASAPI=auto # WASAPI support C89_SSL=no HAVE_BUILTINMBEDTLS=auto # Bake in the mbedtls library C89_BUILTINMBEDTLS=no