Browse Source

AAudio: add compilation to Android.mk, but not activated in SDL_config_android.h

main
Sylvain 3 months ago
parent
commit
146656cfe6
No known key found for this signature in database GPG Key ID: 5F87E02E5BC0939E
  1. 1
      Android.mk
  2. 1
      include/SDL_config_android.h

1
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 \

1
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 */

Loading…
Cancel
Save