aboutsummaryrefslogtreecommitdiff
path: root/src/audio.c
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-06-02 01:26:44 +0200
committerRay <raysan5@gmail.com>2016-06-02 01:26:44 +0200
commit17878550b1e2dde44fcd1e668c92ca2d96680a28 (patch)
tree40811b7f15dc77d88ec80a7029691e034bb53cb8 /src/audio.c
parent7afa0b09ab00b610ad084026022df788fb787229 (diff)
downloadraylib-17878550b1e2dde44fcd1e668c92ca2d96680a28.tar.gz
raylib-17878550b1e2dde44fcd1e668c92ca2d96680a28.zip
Review heades usage
This is a first step toward a bigger project. Some modules could be ported to header-only to be used as standalone.
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/audio.c b/src/audio.c
index 0c61c0fa..a884303c 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -37,24 +37,24 @@
#include "AL/al.h" // OpenAL basic header
#include "AL/alc.h" // OpenAL context header (like OpenGL, OpenAL requires a context to work)
-#include "AL/alext.h" // extensions for other format types
+#include "AL/alext.h" // OpenAL extensions for other format types
-#include <stdlib.h> // Declares malloc() and free() for memory management
-#include <string.h> // Required for strcmp()
-#include <stdio.h> // Used for .WAV loading
+#include <stdlib.h> // Required for: malloc(), free()
+#include <string.h> // Required for: strcmp(), strncmp()
+#include <stdio.h> // Required for: FILE, fopen(), fclose(), fread()
#if defined(AUDIO_STANDALONE)
- #include <stdarg.h> // Used for functions with variable number of parameters (TraceLog())
+ #include <stdarg.h> // Required for: va_list, va_start(), vfprintf(), va_end()
#else
- #include "utils.h" // rRES data decompression utility function
- // NOTE: Includes Android fopen function map
+ #include "utils.h" // Required for: DecompressData()
+ // NOTE: Includes Android fopen() function map
#endif
//#define STB_VORBIS_HEADER_ONLY
#include "stb_vorbis.h" // OGG loading functions
#define JAR_XM_IMPLEMENTATION
-#include "jar_xm.h" // For playing .xm files
+#include "jar_xm.h" // XM loading functions
//----------------------------------------------------------------------------------
// Defines and Macros