From f1fab24e35c6974b358d283091cc01bb5af92a82 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Thu, 15 Apr 2021 21:00:00 +0200 Subject: [PATCH] AAudio: add bootstrap in SDL_audio.c --- src/audio/SDL_audio.c | 3 +++ src/audio/SDL_sysaudio.h | 1 + 2 files changed, 4 insertions(+) diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index d25cd629d..5ce94d1ff 100644 --- a/src/audio/SDL_audio.c +++ b/src/audio/SDL_audio.c @@ -89,6 +89,9 @@ static const AudioBootStrap *const bootstrap[] = { #if SDL_AUDIO_DRIVER_FUSIONSOUND &FUSIONSOUND_bootstrap, #endif +#if SDL_AUDIO_DRIVER_AAUDIO + &aaudio_bootstrap, +#endif #if SDL_AUDIO_DRIVER_OPENSLES &openslES_bootstrap, #endif diff --git a/src/audio/SDL_sysaudio.h b/src/audio/SDL_sysaudio.h index d7fd556bd..17b9e7058 100644 --- a/src/audio/SDL_sysaudio.h +++ b/src/audio/SDL_sysaudio.h @@ -205,6 +205,7 @@ extern AudioBootStrap COREAUDIO_bootstrap; extern AudioBootStrap DISKAUDIO_bootstrap; extern AudioBootStrap DUMMYAUDIO_bootstrap; extern AudioBootStrap FUSIONSOUND_bootstrap; +extern AudioBootStrap aaudio_bootstrap; extern AudioBootStrap openslES_bootstrap; extern AudioBootStrap ANDROIDAUDIO_bootstrap; extern AudioBootStrap PSPAUDIO_bootstrap;