http://bugs.winehq.org/show_bug.cgi?id=23080
Raymond superquad.vortex2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
--- Comment #2 from Raymond superquad.vortex2@gmail.com 2010-06-08 22:12:53 --- (In reply to comment #0)
Created an attachment (id=28657)
--> (http://bugs.winehq.org/attachment.cgi?id=28657) [details]
patch
patch allowing multiple handles to be opened on the same file descriptor and return per-handle statistics about the amount of audio played
For alsa sound card which does not support hardware mixing , there is only one playback subdevice "hw:0,0,0" in "hw:0,0" and wine cannot open "hw:0,0" multiple times
For those alsa sound card which support hardware mixing , there are more then one playback subdevices ( ymfpci and emu10k1 has 64 subdevices ) which allow wine to open multiple times since DSP mix them by hardware instead of wine mix by software
There should be a voice management which limited the times of open to the number of voices supported