diff options
| author | Ray San <raysan5@gmail.com> | 2018-05-22 12:08:58 +0200 |
|---|---|---|
| committer | Ray San <raysan5@gmail.com> | 2018-05-22 12:08:58 +0200 |
| commit | f454af08bb8be2ff572b020c9b40afd67d519b38 (patch) | |
| tree | 0b002484281742b6d47da831cb75ca967d8617f3 /src | |
| parent | 559b9b8cc36883670e5591fdc03cee2f0452fdf1 (diff) | |
| download | raylib-f454af08bb8be2ff572b020c9b40afd67d519b38.tar.gz raylib-f454af08bb8be2ff572b020c9b40afd67d519b38.zip | |
Review include (already included)
Diffstat (limited to 'src')
| -rw-r--r-- | src/audio.c | 11 |
1 files 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 <stdarg.h> // 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) |
