https://bugs.launchpad.net/mudlet/+bug/1645064
I've just started layering up sounds using windows / 3.0 epsilon
If 5 unique sounds are attempted to be played simultaneously, mudlet locks up and crashes. The 2.1 wiki had mentioned that the limit on sounds was 4 at once - Being that's many versions ago, and more importantly a much older version of Qt, i'm not sure what the actual limit now -should- be. However, crashing isn't the right way to go about hitting the limit.
I don't know if this is windows specific or not.
(edit)
I glanced at the code, and it appears that their are variables defined in it mpMusicBox (1-4) for sounds: It looks like the sound limit is defined in mudlet, not Qt.
It appears that the 4th+ sound to be played would call (in mudlet.cpp)
I'm not familiar enough with c++, however, hopefully that points in the right direction
(edit: followup)
I've just done a search for limits to simultaneous wav playback in windows: I found very little information, other then someone asking circa 2011 about best way to go about 40 sounds at once - I'd guess most modern operating systems don't actually have a limit?
Would it be reasonable to change mpMusicBox (1-4) to a QList, then just add more entries as needed? As an aside from that, looking at the QSound class, it would appear to give a lot of options with playing sounds (in particular assigning individual volumes to a sound as it's played) - That could be useful to add to the lua function.