From 6d67b15e7948829fdd1039c76cbc8b24f336d894 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Sat, 25 Nov 2023 22:38:28 +0800 Subject: [PATCH] SDL: Disable building Android audio subsystems. --- love/src/jni/SDL2/include/SDL_config_android.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/love/src/jni/SDL2/include/SDL_config_android.h b/love/src/jni/SDL2/include/SDL_config_android.h index d88c026b..bc2bf7a7 100644 --- a/love/src/jni/SDL2/include/SDL_config_android.h +++ b/love/src/jni/SDL2/include/SDL_config_android.h @@ -142,10 +142,10 @@ #define SIZEOF_VOIDP 4 #endif -/* Enable various audio drivers */ -#define SDL_AUDIO_DRIVER_ANDROID 1 -#define SDL_AUDIO_DRIVER_OPENSLES 1 -#define SDL_AUDIO_DRIVER_AAUDIO 1 +/* love2d-mod: Audio is handled by OpenAL */ +#define SDL_AUDIO_DRIVER_ANDROID 0 +#define SDL_AUDIO_DRIVER_OPENSLES 0 +#define SDL_AUDIO_DRIVER_AAUDIO 0 #define SDL_AUDIO_DRIVER_DUMMY 1 /* Enable various input drivers */