http://bugs.winehq.org/show_bug.cgi?id=22880
--- Comment #30 from Raymond superquad.vortex2@gmail.com 2010-10-27 18:49:56 CDT --- (In reply to comment #27)
it is possible to hack oss
The Wine project does not need a hack, it needs somebody with some ALSA and/or OSS knowledge and preferably access to machines with different sound cards to sit down and write robust code to use several units, using dwUser for keying. It was done for MacOS' Core Audio last year, it can be done for ALSA and OSS. I don't know whether Maarten Lankhorst's ongoing openal work would make such effort futile.
David or some admin, please mark as duplicate (and possibly add the keyword "source", as there's a URL for Lemmix' Delphi source code on the AppDB page). I consider this issue a duplicate because it's about MMSYSERR_ALLOCATED being returned from a second waveOutOpen. The difference with the other application is that this failure does not cause the app to crash or exit.
just need to define DSP_CAP_MULTI since the code is already in
http://git.alsa-project.org/?p=alsa-kernel.git;a=blob;f=sound/core/oss/pcm_o...
your sound card support DSP_CAP_MULTI when it has more than one playback subdevice
1929 #ifdef DSP_CAP_MULTI 1930 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 1931 if (substream->pstr->substream_count > 1) 1932 res |= DSP_CAP_MULTI; 1933 #endif