diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c index eb0a69e5..d994798c 100644 --- a/code/client/snd_openal.c +++ b/code/client/snd_openal.c @@ -2365,6 +2365,18 @@ S_AL_SoundList static void S_AL_SoundList( void ) { + int i; + alSfx_t *sfx; + int size, total; + + total = 0; + for (sfx=knownSfx, i=0 ; iinfo.samples; + total += size; + Com_Printf("%6i : %s[%s]\n", size, + sfx->filename, sfx->inMemory ? "resident " : "paged out"); + } + Com_Printf ("Total resident: %i\n", total); } #ifdef USE_VOIP