summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2018-08-16 11:30:02 +1000
committerJan Ekström <jeebjp@gmail.com>2018-09-29 23:06:49 +0300
commit56098c56368fb1c42059a3a125897f4d3e42553b (patch)
treee34506fe33a041a453ca106c4a68c790b5773d35 /audio
parent312b88d360a4a6956a27cdd5f71a335ceed38b00 (diff)
downloadmpv-56098c56368fb1c42059a3a125897f4d3e42553b.tar.bz2
mpv-56098c56368fb1c42059a3a125897f4d3e42553b.tar.xz
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). (cherry picked from commit 91786fa99c15dc64d3bce4be413326ba2dbe59f7)
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao_openal.c14
1 files changed, 0 insertions, 14 deletions
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 <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
-
-#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 <OpenAL/MacOSX_OALExtensions.h>
-#else
#ifdef OPENAL_AL_H
#include <OpenAL/alc.h>
#include <OpenAL/al.h>
@@ -46,7 +33,6 @@
#include <AL/al.h>
#include <AL/alext.h>
#endif
-#endif // __APPLE__
#include "common/msg.h"