* 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
This commit is contained in:
Tony J. White = committed 2006-08-03 03:15:24 +00:00
1 parent 0141a4b4b0
commit 0bffb8a8cd
1 file changed
+5 -1
+5 -1
View File
@@ -465,7 +465,11 @@ typedef struct src_s
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;