mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
[WINESYNC][WINMM] sndPlaySound can play resource sounds
Wine commit: 74471e857c44449a0236702b7cf8c607cf153a38 author: Aric Stewart <aric@codeweavers.com> Wed, 1 Apr 2015 15:11:24 +0000 (10:11 -0500) committer: Alexandre Julliard <julliard@winehq.org> Thu, 2 Apr 2015 05:03:35 +0000 (14:03 +0900)
This commit is contained in:
parent
582d2f4684
commit
53b12aaae9
1 changed files with 2 additions and 2 deletions
|
@ -656,7 +656,7 @@ BOOL WINAPI PlaySoundW(LPCWSTR pszSoundW, HMODULE hmod, DWORD fdwSound)
|
|||
*/
|
||||
BOOL WINAPI sndPlaySoundA(LPCSTR pszSoundA, UINT uFlags)
|
||||
{
|
||||
uFlags &= SND_ALIAS_ID|SND_FILENAME|SND_ASYNC|SND_LOOP|SND_MEMORY|SND_NODEFAULT|SND_NOSTOP|SND_SYNC;
|
||||
uFlags &= SND_RESOURCE|SND_ALIAS_ID|SND_FILENAME|SND_ASYNC|SND_LOOP|SND_MEMORY|SND_NODEFAULT|SND_NOSTOP|SND_SYNC;
|
||||
return MULTIMEDIA_PlaySound(pszSoundA, 0, uFlags, FALSE);
|
||||
}
|
||||
|
||||
|
@ -665,7 +665,7 @@ BOOL WINAPI sndPlaySoundA(LPCSTR pszSoundA, UINT uFlags)
|
|||
*/
|
||||
BOOL WINAPI sndPlaySoundW(LPCWSTR pszSound, UINT uFlags)
|
||||
{
|
||||
uFlags &= SND_ALIAS_ID|SND_FILENAME|SND_ASYNC|SND_LOOP|SND_MEMORY|SND_NODEFAULT|SND_NOSTOP|SND_SYNC;
|
||||
uFlags &= SND_RESOURCE|SND_ALIAS_ID|SND_FILENAME|SND_ASYNC|SND_LOOP|SND_MEMORY|SND_NODEFAULT|SND_NOSTOP|SND_SYNC;
|
||||
return MULTIMEDIA_PlaySound(pszSound, 0, uFlags, TRUE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue