Well, now AudioEngine is responsible for spawning singles shot sounds. List, insted of vector, is used to store Sounds.
When another scene is loaded, singleshot sounds are distroyed.
Each 60s (at the time) audio engine goes through the list and checks which sounds are playing. If sound is not playing -> releases sound resources.
Well, now AudioEngine is responsible for spawning singles shot sounds. List, insted of vector, is used to store Sounds. When another scene is loaded, singleshot sounds are distroyed. Each 60s (at the time) audio engine goes through the list and checks which sounds are playing. If sound is not playing -> releases sound resources.