called once-only in EXE lifetime...
| 5063 | // called once-only in EXE lifetime... |
| 5064 | // |
| 5065 | void SND_setup() |
| 5066 | { |
| 5067 | s_soundpoolmegs = Cvar_Get("s_soundpoolmegs", "25", CVAR_ARCHIVE); |
| 5068 | if (Sys_LowPhysicalMemory() ) |
| 5069 | { |
| 5070 | Cvar_Set("s_soundpoolmegs", "0"); |
| 5071 | } |
| 5072 | |
| 5073 | // Com_Printf("Sound memory manager started\n"); |
| 5074 | } |
| 5075 | |
| 5076 | |
| 5077 | // ask how much mem an sfx has allocated... |
no test coverage detected