Problem with sound killind framerate


(Yatta) #1

Hello, im finishing the current version of my map and added sounds using the sound editor.
When I play the map tough, the framerate is horrible, and the console keep spamming the following message (/developer 1) :

S_FreeOldestSound: Freeing sound sound/various sound files names, both custom and official ones

There were errors about file not being 22khz, but i corrected those, and now all thats left are those messages, and the 3 fps framerate.

Any ideas ?


(Yatta) #2

Apparently, I had too many different sounds playing at the same time on the map, causing a memory problem.

My guess is that the engine was trying to remove some sound from the memory to gain place for other sounds, except that it actually needed the sound it removed, so it did it again to get the old sounds back, and so on with the infernal loop.