http://bugs.winehq.org/show_bug.cgi?id=20799
--- Comment #89 from Raymond superquad.vortex2@gmail.com 2010-06-12 22:25:29 --- (In reply to comment #59)
Created an attachment (id=27810)
--> (http://bugs.winehq.org/attachment.cgi?id=27810) [details]
Disable mmap for dsound acceleration
With DSound, there's 4 acceleration modes: Emulation - Uses winmm to play the primary buffer, secondary buffers are mixed in software, no hardware effects Basic - Uses a hardware voice for the primary buffer, secondary buffers are mixed in software, no hardware effects Standard - Uses hardware voices for the primary and secondary buffers, no hardware effects Full - Uses hardware voices for the primary and secondary buffers, uses hardware effects
All of Wine's current audio drivers only support Emulation, except for winealsa which can provide Basic. Setting Basic, Standard, or Full behaves just like Basic (or Emulation).
Out of curiousity, does the attached patch work when dsound acceleration is on?
AFAIK , "Test sound" in dxdiag only play using software buffer with different rate and format in wine, still cannot play using hardware buffer in wine since dwFreeHwMixingStreamingBuffer is zero