http://bugs.winehq.org/show_bug.cgi?id=28413
--- Comment #37 from David turbolad995@hotmail.co.uk 2013-01-02 17:26:09 CST --- (In reply to comment #36)
Thanks, David. I installed PC-BSD 9.1 into a VirtualBox VM and am able to reproduce this.
Looks like the problem is it takes a long time to cancel previously playing sounds when a new sound asks to be played:
17.594:0009:trace:winmm:MULTIMEDIA_PlaySound pszSound='0x153278' hmod=0x400000 fdwSound=00000005 ... 17.688:0009:err:winmm:MULTIMEDIA_PlaySound returning control
That's nearly a full tenth of a second between invoking and returning from PlaySound.
Jörg did work in this area recently. The code is still pretty messy, so there might be further improvements. For example, maybe we can avoid waiting for the other sounds to stop playing if SND_ASYNC is given.
(By the way, the "Invalid null command" is because PC-BSD uses csh as its shell by default. You can run "bash" first and then the debugging command to generate a log.)
I'm glad someone else can reproduce this bug. I'm sure there are other apps besides lemmix/lemmings which will highlight this sound bug.