I was recently working on my game, implementing sound, when I noticed that there was a large memory leak in the DirectSound object. Everytime I use "play resource at object", the sound is reloaded into memory without getting rid of the old one, so memory gets sucked up incredibly quickly, resulting in extremely slow performance eventually.
I reported this to the bug tracker, but I want to know if anybody else has had this issue.
If you turn of caching, does this still happen?
Develop games in your browser. Powerful, performant & highly capable.
Just tried turning off caching, and it did keep the memory usage from inflating.
One other thing, though. Sound seems to slow it down quite a bit while too many positioned sounds are playing. Is there any way to speed this up?