diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-12-11 21:14:45 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-12-11 21:14:45 +0000 |
commit | e8f492d9b75c2ed862f0000755d4813a09b7f930 (patch) | |
tree | df274947b48641e23106b7555822cbe248342d8d | |
parent | a57d614074146906756f04a135f0596b71705219 (diff) | |
download | ioquake3-aero-e8f492d9b75c2ed862f0000755d4813a09b7f930.tar.gz ioquake3-aero-e8f492d9b75c2ed862f0000755d4813a09b7f930.zip |
* Increase default for s_alSources to 96
* Source allocation warning on looping sounds demoted to developer only
git-svn-id: svn://svn.icculus.org/quake3/trunk@438 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/client/snd_openal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index cd266d0..10500c9 100644 --- a/code/client/snd_openal.c +++ b/code/client/snd_openal.c @@ -855,7 +855,7 @@ static void S_AL_SrcLoop( alSrcPriority_t priority, sfxHandle_t sfx, 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 @@ qboolean S_AL_Init( soundInterface_t *si ) // 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 ); |