mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
update openal to 1.21.1
This commit is contained in:
parent
f084b80259
commit
30e59b8eae
3 changed files with 15 additions and 14 deletions
27
deps/openal/include/AL/alext.h
vendored
27
deps/openal/include/AL/alext.h
vendored
|
@ -22,19 +22,20 @@
|
||||||
#define AL_ALEXT_H
|
#define AL_ALEXT_H
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
/* Define int64_t and uint64_t types */
|
/* Define int64 and uint64 types */
|
||||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
|
||||||
#include <inttypes.h>
|
(defined(__cplusplus) && __cplusplus >= 201103L)
|
||||||
#elif defined(__cplusplus) && __cplusplus >= 201103L
|
|
||||||
#include <cinttypes>
|
|
||||||
#elif defined(_WIN32) && defined(__GNUC__)
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
typedef int64_t _alsoft_int64_t;
|
||||||
|
typedef uint64_t _alsoft_uint64_t;
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
typedef __int64 int64_t;
|
typedef __int64 _alsoft_int64_t;
|
||||||
typedef unsigned __int64 uint64_t;
|
typedef unsigned __int64 _alsoft_uint64_t;
|
||||||
#else
|
#else
|
||||||
/* Fallback if nothing above works */
|
/* Fallback if nothing above works */
|
||||||
#include <inttypes.h>
|
#include <stdint.h>
|
||||||
|
typedef int64_t _alsoft_int64_t;
|
||||||
|
typedef uint64_t _alsoft_uint64_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "alc.h"
|
#include "alc.h"
|
||||||
|
@ -345,8 +346,8 @@ ALC_API void ALC_APIENTRY alcRenderSamplesSOFT(ALCdevice *device, ALCvoid *buffe
|
||||||
#define AL_SOFT_source_latency 1
|
#define AL_SOFT_source_latency 1
|
||||||
#define AL_SAMPLE_OFFSET_LATENCY_SOFT 0x1200
|
#define AL_SAMPLE_OFFSET_LATENCY_SOFT 0x1200
|
||||||
#define AL_SEC_OFFSET_LATENCY_SOFT 0x1201
|
#define AL_SEC_OFFSET_LATENCY_SOFT 0x1201
|
||||||
typedef int64_t ALint64SOFT;
|
typedef _alsoft_int64_t ALint64SOFT;
|
||||||
typedef uint64_t ALuint64SOFT;
|
typedef _alsoft_uint64_t ALuint64SOFT;
|
||||||
typedef void (AL_APIENTRY*LPALSOURCEDSOFT)(ALuint,ALenum,ALdouble);
|
typedef void (AL_APIENTRY*LPALSOURCEDSOFT)(ALuint,ALenum,ALdouble);
|
||||||
typedef void (AL_APIENTRY*LPALSOURCE3DSOFT)(ALuint,ALenum,ALdouble,ALdouble,ALdouble);
|
typedef void (AL_APIENTRY*LPALSOURCE3DSOFT)(ALuint,ALenum,ALdouble,ALdouble,ALdouble);
|
||||||
typedef void (AL_APIENTRY*LPALSOURCEDVSOFT)(ALuint,ALenum,const ALdouble*);
|
typedef void (AL_APIENTRY*LPALSOURCEDVSOFT)(ALuint,ALenum,const ALdouble*);
|
||||||
|
@ -498,8 +499,8 @@ AL_API const ALchar* AL_APIENTRY alGetStringiSOFT(ALenum pname, ALsizei index);
|
||||||
|
|
||||||
#ifndef ALC_SOFT_device_clock
|
#ifndef ALC_SOFT_device_clock
|
||||||
#define ALC_SOFT_device_clock 1
|
#define ALC_SOFT_device_clock 1
|
||||||
typedef int64_t ALCint64SOFT;
|
typedef _alsoft_int64_t ALCint64SOFT;
|
||||||
typedef uint64_t ALCuint64SOFT;
|
typedef _alsoft_uint64_t ALCuint64SOFT;
|
||||||
#define ALC_DEVICE_CLOCK_SOFT 0x1600
|
#define ALC_DEVICE_CLOCK_SOFT 0x1600
|
||||||
#define ALC_DEVICE_LATENCY_SOFT 0x1601
|
#define ALC_DEVICE_LATENCY_SOFT 0x1601
|
||||||
#define ALC_DEVICE_CLOCK_LATENCY_SOFT 0x1602
|
#define ALC_DEVICE_CLOCK_LATENCY_SOFT 0x1602
|
||||||
|
|
BIN
deps/openal/lib/libopenal.a
vendored
BIN
deps/openal/lib/libopenal.a
vendored
Binary file not shown.
2
deps/openal/lib/pkgconfig/openal.pc
vendored
2
deps/openal/lib/pkgconfig/openal.pc
vendored
|
@ -6,7 +6,7 @@ includedir=${prefix}/include
|
||||||
Name: OpenAL
|
Name: OpenAL
|
||||||
Description: OpenAL is a cross-platform 3D audio API
|
Description: OpenAL is a cross-platform 3D audio API
|
||||||
Requires:
|
Requires:
|
||||||
Version: 1.21.0
|
Version: 1.21.1
|
||||||
Libs: -L${libdir} -lopenal
|
Libs: -L${libdir} -lopenal
|
||||||
Libs.private: -framework ApplicationServices -framework AudioToolbox -framework AudioUnit -framework CoreAudio
|
Libs.private: -framework ApplicationServices -framework AudioToolbox -framework AudioUnit -framework CoreAudio
|
||||||
Cflags: -I${includedir} -I${includedir}/AL -DAL_LIBTYPE_STATIC
|
Cflags: -I${includedir} -I${includedir}/AL -DAL_LIBTYPE_STATIC
|
||||||
|
|
Loading…
Reference in a new issue