https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0cb3b850315da692483dce1b65e104c867bf3e2b
commit 0cb3b850315da692483dce1b65e104c867bf3e2b Author: Thamatip Chitpong <[email protected]> AuthorDate: Wed Jun 14 07:12:46 2023 +0700 Commit: Stanislav Motylkov <[email protected]> CommitDate: Thu Jul 6 13:36:19 2023 +0300 [WINESYNC][WINMM] PlaySound ignores SND_NOWAIT Wine commit: 0a81f12ce10f88a06e1a95523c1e4da7587fa3e9 author: Jörg Höhle <[email protected]> Tue, 11 Jan 2011 22:30:34 +0000 (23:30 +0100) committer: Alexandre Julliard <[email protected]> Fri, 14 Jan 2011 17:26:20 +0000 (18:26 +0100) --- dll/win32/winmm/playsound.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dll/win32/winmm/playsound.c b/dll/win32/winmm/playsound.c index f0b2fe086f9..5bb2c31be4f 100644 --- a/dll/win32/winmm/playsound.c +++ b/dll/win32/winmm/playsound.c @@ -574,11 +574,9 @@ static BOOL MULTIMEDIA_PlaySound(const void* pszSound, HMODULE hmod, DWORD fdwSo TRACE("pszSound='%p' hmod=%p fdwSound=%08X\n", pszSound, hmod, fdwSound); - /* FIXME? I see no difference between SND_NOWAIT and SND_NOSTOP ! - * there could be one if several sounds can be played at once... - */ - if ((fdwSound & (SND_NOWAIT | SND_NOSTOP)) && PlaySoundList != NULL) - return FALSE; + /* SND_NOWAIT is ignored in w95/2k/xp. */ + if ((fdwSound & SND_NOSTOP) && PlaySoundList != NULL) + return FALSE; /* alloc internal structure, if we need to play something */ if (pszSound && !(fdwSound & SND_PURGE))
