mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Import alGetStringiSOFT
This commit is contained in:
parent
b836042a02
commit
305c026f4e
2 changed files with 12 additions and 0 deletions
|
@ -88,6 +88,9 @@ LPALGETBUFFERI qalGetBufferi;
|
|||
LPALDOPPLERFACTOR qalDopplerFactor;
|
||||
LPALSPEEDOFSOUND qalSpeedOfSound;
|
||||
LPALDISTANCEMODEL qalDistanceModel;
|
||||
#ifdef AL_SOFT_source_resampler
|
||||
LPALGETSTRINGISOFT qalGetStringiSOFT;
|
||||
#endif
|
||||
|
||||
LPALCCREATECONTEXT qalcCreateContext;
|
||||
LPALCMAKECONTEXTCURRENT qalcMakeContextCurrent;
|
||||
|
@ -209,6 +212,9 @@ qboolean QAL_Init(const char *libname)
|
|||
qalDopplerFactor = GPA("alDopplerFactor");
|
||||
qalSpeedOfSound = GPA("alSpeedOfSound");
|
||||
qalDistanceModel = GPA("alDistanceModel");
|
||||
#ifdef AL_SOFT_source_resampler
|
||||
qalGetStringiSOFT = GPA("alGetStringiSOFT");
|
||||
#endif
|
||||
|
||||
qalcCreateContext = GPA("alcCreateContext");
|
||||
qalcMakeContextCurrent = GPA("alcMakeContextCurrent");
|
||||
|
|
|
@ -36,15 +36,18 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#ifdef USE_LOCAL_HEADERS
|
||||
#include "../AL/al.h"
|
||||
#include "../AL/alc.h"
|
||||
#include "../AL/alext.h"
|
||||
#else
|
||||
#if defined(_MSC_VER) || defined(__APPLE__)
|
||||
// MSVC users must install the OpenAL SDK which doesn't use the AL/*.h scheme.
|
||||
// OSX framework also needs this
|
||||
#include <al.h>
|
||||
#include <alc.h>
|
||||
#include <alext.h>
|
||||
#else
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
#include <AL/alext.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -132,6 +135,9 @@ extern LPALGETBUFFERIV qalGetBufferiv;
|
|||
extern LPALDOPPLERFACTOR qalDopplerFactor;
|
||||
extern LPALSPEEDOFSOUND qalSpeedOfSound;
|
||||
extern LPALDISTANCEMODEL qalDistanceModel;
|
||||
#ifdef AL_SOFT_source_resampler
|
||||
extern LPALGETSTRINGISOFT qalGetStringiSOFT;
|
||||
#endif
|
||||
|
||||
extern LPALCCREATECONTEXT qalcCreateContext;
|
||||
extern LPALCMAKECONTEXTCURRENT qalcMakeContextCurrent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue