http://bugs.winehq.org/show_bug.cgi?id=22880
--- Comment #26 from Raymond superquad.vortex2@gmail.com 2010-10-26 09:55:17 CDT --- (In reply to comment #25)
This issue about Lemmix is a strict duplicate of bug #22261. Likely, every bug about WAVE_Open dwRet = MMSYSERR_ALLOCATED is.
Lemmix first calls a waveOutOpen with 6 buffers for the background music, then uses PlaySound(SND_MEMORY|SND_ASYNC) to play sound effects. This second use fails for Wine's ALSA and OSS drivers because they only support a single output (dwUser is unused). It works with the Core Audio driver for MacOS (since Ken Thomases patches in October 2009). Perhaps it would work with the non-official PulseAudio driver.
the patch in bug#22226 is also wrong when your sound card does not support hardware mixing
it won't work with winepulse since PA only support per application volume instead of per voice volume control
unfortuately "winmm_test wave" did not really provide an audible test for two waveopen concurrently
if you have hardware mixing sound card , it is possible to hack oss emulation to support DSP_CAP_MULTI