From 146656cfe6620e7fa81704f5d149ac8172fc4b7f Mon Sep 17 00:00:00 2001 From: Sylvain Date: Thu, 15 Apr 2021 21:03:10 +0200 Subject: [PATCH] AAudio: add compilation to Android.mk, but not activated in SDL_config_android.h --- Android.mk | 1 + include/SDL_config_android.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Android.mk b/Android.mk index 0d2916766..99c0d13de 100644 --- a/Android.mk +++ b/Android.mk @@ -20,6 +20,7 @@ LOCAL_SRC_FILES := \ $(wildcard $(LOCAL_PATH)/src/audio/*.c) \ $(wildcard $(LOCAL_PATH)/src/audio/android/*.c) \ $(wildcard $(LOCAL_PATH)/src/audio/dummy/*.c) \ + $(wildcard $(LOCAL_PATH)/src/audio/aaudio/*.c) \ $(wildcard $(LOCAL_PATH)/src/audio/openslES/*.c) \ $(LOCAL_PATH)/src/atomic/SDL_atomic.c.arm \ $(LOCAL_PATH)/src/atomic/SDL_spinlock.c.arm \ diff --git a/include/SDL_config_android.h b/include/SDL_config_android.h index 65d7e20d9..09d00d242 100644 --- a/include/SDL_config_android.h +++ b/include/SDL_config_android.h @@ -142,6 +142,7 @@ /* Enable various audio drivers */ #define SDL_AUDIO_DRIVER_ANDROID 1 #define SDL_AUDIO_DRIVER_OPENSLES 1 +#define SDL_AUDIO_DRIVER_AAUDIO 0 #define SDL_AUDIO_DRIVER_DUMMY 1 /* Enable various input drivers */