I am pretty novice when it comes to game sound management, so excuse my ignorance.
I am having an issue when playing too many sounds at the same time where some sounds stop playing, or doesn't play at all, almost like some sounds overlap others. I've read some about the sounds using individual buffers and that there should be no problem playing these at the same time at runtime. When I only had a small ammount of sounds in the game, it all worked flawlessly. My SoundManager had no problem playing multiple sounds at the same time ( I loaded the sound to memory when I was going to play it and disposed it when it was done playing, approx. 5 seconds).
I've recorded a video to better illustrate what this sound problem is. As you can hear in the video below, the attacking sounds can only be heard at some points, as for some enemy sounds. The idling sounds of the enemies (breathing and bat sounds) seem to work without issues, though.
Thank you for helping, because I have no clue how to fix this issue. Is there something that I've left out in my SoundManager?
playSoundEffect
parameter). You could also try to reduce the quality (sampling rate, stereo -> mono) to save space. \$\endgroup\$