[PATCH 1/2] Revert "winmm: Fix PlaySound so it doesn't block when another sound is already playing."

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Mon Mar 28 03:57:48 CDT 2011


Please see bug #9026

This reverts
but improves upon the pre-2007 situation by calling waveOutReset
to speed up aborting the currently playing sound.

Vedran Rodic wrote:
>Applications expect PlaySound() not to block when called with SND_ASYNC
> flag.
MSDN only says "PlaySound returns immediately after beginning the sound."
Beginning a sound takes some time (waveOutOpen may take a lot of time).

	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Revert-winmm-Fix-PlaySound-so-it-doesn-t-block-whe.patch
Type: application/octet-stream
Size: 4176 bytes
Desc: 0001-Revert-winmm-Fix-PlaySound-so-it-doesn-t-block-whe.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110328/54eb02dc/attachment-0001.obj>

More information about the wine-patches mailing list