From 91786fa99c15dc64d3bce4be413326ba2dbe59f7 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Thu, 16 Aug 2018 11:30:02 +1000 Subject: Revert "ao_openal: enable building on OSX" This reverts commit af6126adbe61fb2b6cc780025246d33df93072e6. Apple's OpenAL support is ridiculously out of date, revert back to just using OpenAL Soft on macOS (fixes #4645). --- audio/out/ao_openal.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'audio/out/ao_openal.c') diff --git a/audio/out/ao_openal.c b/audio/out/ao_openal.c index c1f405bf12..53571b6d6e 100644 --- a/audio/out/ao_openal.c +++ b/audio/out/ao_openal.c @@ -24,19 +24,6 @@ #include #include #include - -#ifdef __APPLE__ -#ifndef AL_FORMAT_MONO_FLOAT32 -#define AL_FORMAT_MONO_FLOAT32 0x10010 -#endif -#ifndef AL_FORMAT_STEREO_FLOAT32 -#define AL_FORMAT_STEREO_FLOAT32 0x10011 -#endif -#ifndef AL_FORMAT_MONO_DOUBLE_EXT -#define AL_FORMAT_MONO_DOUBLE_EXT 0x10012 -#endif -#include -#else #ifdef OPENAL_AL_H #include #include @@ -46,7 +33,6 @@ #include #include #endif -#endif // __APPLE__ #include "common/msg.h" -- cgit v1.2.3