r438 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Dec 11 16:14:45 EST 2005


Author: tma
Date: 2005-12-11 16:14:45 -0500 (Sun, 11 Dec 2005)
New Revision: 438

Modified:
   trunk/code/client/snd_openal.c
Log:
* Increase default for s_alSources to 96
* Source allocation warning on looping sounds demoted to developer only


Modified: trunk/code/client/snd_openal.c
===================================================================
--- trunk/code/client/snd_openal.c	2005-12-09 15:02:05 UTC (rev 437)
+++ trunk/code/client/snd_openal.c	2005-12-11 21:14:45 UTC (rev 438)
@@ -855,7 +855,7 @@
 		src = S_AL_SrcAlloc( priority, entityNum, -1 );
 		if( src == -1 )
 		{
-			Com_Printf( S_COLOR_RED "ERROR: Failed to allocate source "
+			Com_DPrintf( S_COLOR_YELLOW "WARNING: Failed to allocate source "
 					"for loop sfx %d on entity %d\n", sfx, entityNum );
 			return;
 		}
@@ -1586,7 +1586,7 @@
 	// New console variables
 	s_alPrecache = Cvar_Get( "s_alPrecache", "1", CVAR_ARCHIVE );
 	s_alGain = Cvar_Get( "s_alGain", "0.4", CVAR_ARCHIVE );
-	s_alSources = Cvar_Get( "s_alSources", "64", CVAR_ARCHIVE );
+	s_alSources = Cvar_Get( "s_alSources", "96", CVAR_ARCHIVE );
 	s_alDopplerFactor = Cvar_Get( "s_alDopplerFactor", "1.0", CVAR_ARCHIVE );
 	s_alDopplerSpeed = Cvar_Get( "s_alDopplerSpeed", "2200", CVAR_ARCHIVE );
 	s_alMinDistance = Cvar_Get( "s_alMinDistance", "80", CVAR_ARCHIVE );




More information about the quake3-commits mailing list