aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-06-11 11:21:24 +0200
committerraysan5 <raysan5@gmail.com>2016-06-11 11:21:24 +0200
commitd63e32a377d00ff5defdcc15f0766456255b85fb (patch)
tree61c8e7c768691a7465f681acfb69912768b8459d /src
parent52b88e0991e4b82ed4e97a5a2e8ef939a37de661 (diff)
downloadraylib-d63e32a377d00ff5defdcc15f0766456255b85fb.tar.gz
raylib-d63e32a377d00ff5defdcc15f0766456255b85fb.zip
Remove include, not supported on html5
AL/alext.h is not supported on html5 OpenAL implementation, just replaced by the defines used in audio module
Diffstat (limited to 'src')
-rw-r--r--src/audio.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c
index 958b9838..e06994b8 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -37,12 +37,18 @@
#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" // OpenAL extensions for other format types
#include <stdlib.h> // Required for: malloc(), free()
#include <string.h> // Required for: strcmp(), strncmp()
#include <stdio.h> // Required for: FILE, fopen(), fclose(), fread()
+#ifndef AL_FORMAT_MONO_FLOAT32
+ #define AL_FORMAT_MONO_FLOAT32 0x10010
+#endif
+#ifndef AL_FORMAT_STEREO_FLOAT32
+ #define AL_FORMAT_STEREO_FLOAT32 0x10011
+#endif
+
#if defined(AUDIO_STANDALONE)
#include <stdarg.h> // Required for: va_list, va_start(), vfprintf(), va_end()
#else