mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-02-21 10:41:08 +00:00
fix openal dlopen
This commit is contained in:
parent
b8d3888f31
commit
5bdce1d547
1 changed files with 15 additions and 0 deletions
|
@ -101,6 +101,11 @@ LPALCGETPROCADDRESS qalcGetProcAddress;
|
||||||
LPALCGETENUMVALUE qalcGetEnumValue;
|
LPALCGETENUMVALUE qalcGetEnumValue;
|
||||||
LPALCGETSTRING qalcGetString;
|
LPALCGETSTRING qalcGetString;
|
||||||
LPALCGETINTEGERV qalcGetIntegerv;
|
LPALCGETINTEGERV qalcGetIntegerv;
|
||||||
|
LPALCCAPTUREOPENDEVICE qalcCaptureOpenDevice;
|
||||||
|
LPALCCAPTURECLOSEDEVICE qalcCaptureCloseDevice;
|
||||||
|
LPALCCAPTURESTART qalcCaptureStart;
|
||||||
|
LPALCCAPTURESTOP qalcCaptureStop;
|
||||||
|
LPALCCAPTURESAMPLES qalcCaptureSamples;
|
||||||
|
|
||||||
static void *OpenALLib = NULL;
|
static void *OpenALLib = NULL;
|
||||||
|
|
||||||
|
@ -229,6 +234,11 @@ qboolean QAL_Init(const char *libname)
|
||||||
qalcGetEnumValue = GPA("alcGetEnumValue");
|
qalcGetEnumValue = GPA("alcGetEnumValue");
|
||||||
qalcGetString = GPA("alcGetString");
|
qalcGetString = GPA("alcGetString");
|
||||||
qalcGetIntegerv = GPA("alcGetIntegerv");
|
qalcGetIntegerv = GPA("alcGetIntegerv");
|
||||||
|
qalcCaptureOpenDevice = GPA("alcCaptureOpenDevice");
|
||||||
|
qalcCaptureCloseDevice = GPA("alcCaptureCloseDevice");
|
||||||
|
qalcCaptureStart = GPA("alcCaptureStart");
|
||||||
|
qalcCaptureStop = GPA("alcCaptureStop");
|
||||||
|
qalcCaptureSamples = GPA("alcCaptureSamples");
|
||||||
|
|
||||||
if(alinit_fail)
|
if(alinit_fail)
|
||||||
{
|
{
|
||||||
|
@ -323,6 +333,11 @@ void QAL_Shutdown( void )
|
||||||
qalcGetEnumValue = NULL;
|
qalcGetEnumValue = NULL;
|
||||||
qalcGetString = NULL;
|
qalcGetString = NULL;
|
||||||
qalcGetIntegerv = NULL;
|
qalcGetIntegerv = NULL;
|
||||||
|
qalcCaptureOpenDevice = NULL;
|
||||||
|
qalcCaptureCloseDevice = NULL;
|
||||||
|
qalcCaptureStart = NULL;
|
||||||
|
qalcCaptureStop = NULL;
|
||||||
|
qalcCaptureSamples = NULL;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
qboolean QAL_Init(const char *libname)
|
qboolean QAL_Init(const char *libname)
|
||||||
|
|
Loading…
Reference in a new issue