r833 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Aug 2 23:15:24 EDT 2006
Author: tjw
Date: 2006-08-02 23:15:24 -0400 (Wed, 02 Aug 2006)
New Revision: 833
Modified:
trunk/code/client/snd_openal.c
Log:
bug 2747
* it turns out Apple's OpenAL only allows for 64 alSource's by default
http://opensource.creative.com/pipermail/openal/2005-October/008893.html
This was the main cause of the Mac OS X OpenAL probem since we were using
128 as MAX_SRC
Modified: trunk/code/client/snd_openal.c
===================================================================
--- trunk/code/client/snd_openal.c 2006-08-03 02:29:47 UTC (rev 832)
+++ trunk/code/client/snd_openal.c 2006-08-03 03:15:24 UTC (rev 833)
@@ -465,7 +465,11 @@
qboolean local; // Is this local (relative to the cam)
} src_t;
-#define MAX_SRC 128
+#ifdef MACOS_X
+ #define MAX_SRC 64
+#else
+ #define MAX_SRC 128
+#endif
static src_t srcList[MAX_SRC];
static int srcCount = 0;
static qboolean alSourcesInitialised = qfalse;
More information about the quake3-commits
mailing list