comparison libao2/ao_openal.c @ 21556:283bff578e1c

Support OpenAL headers in OpenAL/ instead of AL/ and OpenAL on MacOSX in general.
author reimar
date Sun, 10 Dec 2006 14:07:08 +0000
parents 9d9e0f1ef0e9
children a29ae9b13a50
comparison
equal deleted inserted replaced
21555:ababf115f90d 21556:283bff578e1c
5 * (http://www.mplayerhq.hu) 5 * (http://www.mplayerhq.hu)
6 * 6 *
7 * Copyleft 2006 by Reimar Döffinger (Reimar.Doeffinger@stud.uni-karlsruhe.de) 7 * Copyleft 2006 by Reimar Döffinger (Reimar.Doeffinger@stud.uni-karlsruhe.de)
8 */ 8 */
9 9
10 #include "config.h"
11
10 #include <stdlib.h> 12 #include <stdlib.h>
11 #include <stdio.h> 13 #include <stdio.h>
12 #include <inttypes.h> 14 #include <inttypes.h>
15 #ifdef OPENAL_AL_H
16 #include <OpenAL/alc.h>
17 #include <OpenAL/al.h>
18 #else
13 #include <AL/alc.h> 19 #include <AL/alc.h>
14 #include <AL/al.h> 20 #include <AL/al.h>
15 21 #endif
16 #include "config.h" 22
17 #include "mp_msg.h" 23 #include "mp_msg.h"
18 #include "help_mp.h" 24 #include "help_mp.h"
19 25
20 #include "audio_out.h" 26 #include "audio_out.h"
21 #include "audio_out_internal.h" 27 #include "audio_out_internal.h"