From f454af08bb8be2ff572b020c9b40afd67d519b38 Mon Sep 17 00:00:00 2001 From: Ray San Date: Tue, 22 May 2018 12:08:58 +0200 Subject: [PATCH] Review include (already included) --- src/audio.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/audio.c b/src/audio.c index 53f5814f..78bf3b51 100644 --- a/src/audio.c +++ b/src/audio.c @@ -17,7 +17,7 @@ * Required types and functions are defined in the same module. * * #define USE_OPENAL_BACKEND -* Use OpenAL Soft audio backend usage +* Use OpenAL Soft audio backend * * #define SUPPORT_FILEFORMAT_WAV * #define SUPPORT_FILEFORMAT_OGG @@ -73,11 +73,6 @@ * **********************************************************************************************/ -#include "config.h" -#if !defined(USE_OPENAL_BACKEND) - #define USE_MINI_AL 1 // Set to 1 to use mini_al; 0 to use OpenAL. -#endif - #if defined(AUDIO_STANDALONE) #include "audio.h" #include // Required for: va_list, va_start(), vfprintf(), va_end() @@ -87,6 +82,10 @@ #include "utils.h" // Required for: fopen() Android mapping #endif +#if !defined(USE_OPENAL_BACKEND) + #define USE_MINI_AL 1 // Set to 1 to use mini_al; 0 to use OpenAL. +#endif + #include "external/mini_al.h" // Implemented in mini_al.c. Cannot implement this here because it conflicts with Win32 APIs such as CloseWindow(), etc. #if !defined(USE_MINI_AL) || (USE_MINI_AL == 0)