Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_AAUDIO
This commit is contained in:
1 parent
bf965ad330
commit
19d5a7dedf
3 files changed
+3
-3
No files matched your search
@@ -58,7 +58,7 @@ static const AudioBootStrap *const bootstrap[] = {
|
|||||||
#ifdef SDL_AUDIO_DRIVER_COREAUDIO
|
#ifdef SDL_AUDIO_DRIVER_COREAUDIO
|
||||||
&COREAUDIO_bootstrap,
|
&COREAUDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_AAUDIO
|
#ifdef SDL_AUDIO_DRIVER_AAUDIO
|
||||||
&aaudio_bootstrap,
|
&aaudio_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_OPENSLES
|
#if SDL_AUDIO_DRIVER_OPENSLES
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_AUDIO_DRIVER_AAUDIO
|
#ifdef SDL_AUDIO_DRIVER_AAUDIO
|
||||||
|
|
||||||
#include "../SDL_audio_c.h"
|
#include "../SDL_audio_c.h"
|
||||||
#include "../../core/android/SDL_android.h"
|
#include "../../core/android/SDL_android.h"
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ static void openslES_ResumeDevices(void)
|
|||||||
static void openslES_PauseDevices(void) {}
|
static void openslES_PauseDevices(void) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(SDL_AUDIO_DISABLED) && SDL_AUDIO_DRIVER_AAUDIO
|
#if !defined(SDL_AUDIO_DISABLED) && defined(SDL_AUDIO_DRIVER_AAUDIO)
|
||||||
extern void aaudio_ResumeDevices(void);
|
extern void aaudio_ResumeDevices(void);
|
||||||
extern void aaudio_PauseDevices(void);
|
extern void aaudio_PauseDevices(void);
|
||||||
SDL_bool aaudio_DetectBrokenPlayState(void);
|
SDL_bool aaudio_DetectBrokenPlayState(void);
|
||||||
|
|||||||
Reference in new issue
Block a user