r1355 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 2 11:54:37 EDT 2008


Author: ludwig
Date: 2008-06-02 11:54:36 -0400 (Mon, 02 Jun 2008)
New Revision: 1355

Modified:
   trunk/code/client/qal.c
Log:
fix openal dlopen


Modified: trunk/code/client/qal.c
===================================================================
--- trunk/code/client/qal.c	2008-06-02 12:12:00 UTC (rev 1354)
+++ trunk/code/client/qal.c	2008-06-02 15:54:36 UTC (rev 1355)
@@ -101,6 +101,11 @@
 LPALCGETENUMVALUE qalcGetEnumValue;
 LPALCGETSTRING qalcGetString;
 LPALCGETINTEGERV qalcGetIntegerv;
+LPALCCAPTUREOPENDEVICE qalcCaptureOpenDevice;
+LPALCCAPTURECLOSEDEVICE qalcCaptureCloseDevice;
+LPALCCAPTURESTART qalcCaptureStart;
+LPALCCAPTURESTOP qalcCaptureStop;
+LPALCCAPTURESAMPLES qalcCaptureSamples;
 
 static void *OpenALLib = NULL;
 
@@ -229,6 +234,11 @@
 	qalcGetEnumValue = GPA("alcGetEnumValue");
 	qalcGetString = GPA("alcGetString");
 	qalcGetIntegerv = GPA("alcGetIntegerv");
+	qalcCaptureOpenDevice = GPA("alcCaptureOpenDevice");
+	qalcCaptureCloseDevice = GPA("alcCaptureCloseDevice");
+	qalcCaptureStart = GPA("alcCaptureStart");
+	qalcCaptureStop = GPA("alcCaptureStop");
+	qalcCaptureSamples = GPA("alcCaptureSamples");
 
 	if(alinit_fail)
 	{
@@ -323,6 +333,11 @@
 	qalcGetEnumValue = NULL;
 	qalcGetString = NULL;
 	qalcGetIntegerv = NULL;
+	qalcCaptureOpenDevice = NULL;
+	qalcCaptureCloseDevice = NULL;
+	qalcCaptureStart = NULL;
+	qalcCaptureStop = NULL;
+	qalcCaptureSamples = NULL;
 }
 #else
 qboolean QAL_Init(const char *libname)




More information about the quake3-commits mailing list