diff options
| author | Ray <[email protected]> | 2018-04-08 22:46:44 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-04-08 22:46:44 +0200 |
| commit | cd616258c6875d422cf20899f0daf89ba1d8e84a (patch) | |
| tree | 7eef095832704c4bce4f69bbe378d10409f92472 /src/audio.c | |
| parent | 9e7dedf5af6ea3f70196e86865b8a7e676b419b2 (diff) | |
| parent | 1dbce352479f64748879fecb9df646654cd92229 (diff) | |
| download | raylib-cd616258c6875d422cf20899f0daf89ba1d8e84a.tar.gz raylib-cd616258c6875d422cf20899f0daf89ba1d8e84a.zip | |
Merge pull request #522 from a3f/master
Refactor all #define SUPPORT_* into a config.h
Diffstat (limited to 'src/audio.c')
| -rw-r--r-- | src/audio.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/audio.c b/src/audio.c index 1fcf6f91..3ee1fe81 100644 --- a/src/audio.c +++ b/src/audio.c @@ -11,7 +11,7 @@ * - Manage raw audio context * * CONFIGURATION: -* +* * #define AUDIO_STANDALONE * Define to use the module as standalone library (independently of raylib). * Required types and functions are defined in the same module. @@ -24,7 +24,7 @@ * #define SUPPORT_FILEFORMAT_XM * #define SUPPORT_FILEFORMAT_MOD * #define SUPPORT_FILEFORMAT_FLAC -* Selected desired fileformats to be supported for loading. Some of those formats are +* Selected desired fileformats to be supported for loading. Some of those formats are * supported by default, to remove support, just comment unrequired #define in this module * * LIMITATIONS (only OpenAL Soft): @@ -72,13 +72,7 @@ * **********************************************************************************************/ -// Default configuration flags (supported features) -//------------------------------------------------- -#define SUPPORT_FILEFORMAT_WAV -#define SUPPORT_FILEFORMAT_OGG -#define SUPPORT_FILEFORMAT_XM -#define SUPPORT_FILEFORMAT_MOD -//------------------------------------------------- +#include "config.h" #if !defined(USE_OPENAL_BACKEND) #define USE_MINI_AL 1 // Set to 1 to use mini_al; 0 to use OpenAL. |
