Thamatip Chitpong
35dc2f2410
[WINMM] PlaySound: Add a note for ReactOS-specific modifications
...
Addendum to commit f18111b641
2024-04-29 17:56:03 +07:00
Thamatip Chitpong
a9580fb95c
[WINESYNC][WINMM] PlaySound: Formatting only
...
- Indent with spaces
- complies with Wine
2023-07-06 13:36:22 +03:00
Thamatip Chitpong
b30a8a0868
[WINESYNC][WINMM] Properly handle mmioRead/mmioWrite in case of errors
...
In C, an inequality comparison between a signed and an unsigned integer
ends up with an unsigned comparison.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52628
Wine commit: 0de8d01b09b1cc7ca34f7ae3890b4a416ff801fe
author: Eric Pouech <eric.pouech@gmail.com>
Wed, 30 Mar 2022 12:57:44 +0000 (14:57 +0200)
committer: Alexandre Julliard <julliard@winehq.org>
Fri, 1 Apr 2022 20:59:40 +0000 (22:59 +0200)
2023-07-06 13:36:22 +03:00
Thamatip Chitpong
e85c54a5c7
[WINESYNC][WINMM] PlaySound: Avoid a unneeded lstrlenW call
...
Note that since str is a buffer it cannot be NULL.
Based on Wine commit: 6a4347be371bea544e0d4a81f4cfacd29af18d6e
author: Francois Gouget <fgouget@free.fr>
Mon, 16 Sep 2019 14:01:04 +0000 (16:01 +0200)
committer: Alexandre Julliard <julliard@winehq.org>
Mon, 16 Sep 2019 20:58:42 +0000 (22:58 +0200)
2023-07-06 13:36:22 +03:00
Thamatip Chitpong
53b12aaae9
[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)
2023-07-06 13:36:21 +03:00
Thamatip Chitpong
582d2f4684
[WINESYNC][WINMM] Add .wav extension when searching for PlaySound
...
Wine commit: 563a4ff08ba9137dda4803a83d8937b3037fa25e
author: Akihiro Sagawa <sagawa.aki@gmail.com>
Tue, 24 Feb 2015 16:38:47 +0000 (01:38 +0900)
committer: Alexandre Julliard <julliard@winehq.org>
Wed, 25 Feb 2015 05:17:46 +0000 (14:17 +0900)
2023-07-06 13:36:21 +03:00
Thamatip Chitpong
41874cccc5
[WINESYNC][WINMM] Allow new sounds to interrupt previous PlaySound invocations
...
Wine commit: 197607db2e06f28b666da9ce88b69c9994c1bb65
author: Jörg Höhle <hoehle@users.sourceforge.net>
Tue, 14 Feb 2012 18:27:30 +0000 (19:27 +0100)
committer: Alexandre Julliard <julliard@winehq.org>
Thu, 16 Feb 2012 17:51:56 +0000 (18:51 +0100)
2023-07-06 13:36:21 +03:00
Thamatip Chitpong
8c5cacf8a0
[WINESYNC][WINMM] PlaySound concurrency cleanup
...
Wine commit: e0dcc2cd7d4495b7056a47ada1af74cc7c318ef2
author: Jörg Höhle <hoehle@users.sourceforge.net>
Mon, 28 Mar 2011 20:34:02 +0000 (22:34 +0200)
committer: Alexandre Julliard <julliard@winehq.org>
Wed, 30 Mar 2011 11:28:04 +0000 (13:28 +0200)
2023-07-06 13:36:20 +03:00
Thamatip Chitpong
ede1cf4264
[WINESYNC][WINMM] Get rid of psStopEvent which was never used like an event
...
Wine commit: a0dbd846c6cf111d20718170e9de2f7681d8fadf
author: Jörg Höhle <hoehle@users.sourceforge.net>
Sat, 26 Mar 2011 11:36:49 +0000 (12:36 +0100)
committer: Alexandre Julliard <julliard@winehq.org>
Wed, 30 Mar 2011 11:28:04 +0000 (13:28 +0200)
2023-07-06 13:36:20 +03:00
Thamatip Chitpong
aae34dc827
[WINESYNC][WINMM] Revert "winmm: Fix PlaySound so it doesn't block when another sound is already playing."
...
Let the player thread call waveOutReset itself instead.
Wine commit: 15ad749eced53e0c33454970bfc2bdb58b64f92b
author: Jörg Höhle <hoehle@users.sourceforge.net>
Sat, 26 Mar 2011 06:44:22 +0000 (07:44 +0100)
committer: Alexandre Julliard <julliard@winehq.org>
Wed, 30 Mar 2011 11:28:04 +0000 (13:28 +0200)
2023-07-06 13:36:20 +03:00
Thamatip Chitpong
ad14255933
[WINESYNC][WINMM] Abort PlaySound in case of audio error
...
Wine commit: ca37dbcfe6309fd7caad1f53f3b76773cd0278fa
author: Jörg Höhle <hoehle@users.sourceforge.net>
Sat, 26 Mar 2011 06:36:47 +0000 (07:36 +0100)
committer: Alexandre Julliard <julliard@winehq.org>
Wed, 30 Mar 2011 11:28:04 +0000 (13:28 +0200)
2023-07-06 13:36:20 +03:00
Thamatip Chitpong
0cb3b85031
[WINESYNC][WINMM] PlaySound ignores SND_NOWAIT
...
Wine commit: 0a81f12ce10f88a06e1a95523c1e4da7587fa3e9
author: Jörg Höhle <hoehle@users.sourceforge.net>
Tue, 11 Jan 2011 22:30:34 +0000 (23:30 +0100)
committer: Alexandre Julliard <julliard@winehq.org>
Fri, 14 Jan 2011 17:26:20 +0000 (18:26 +0100)
2023-07-06 13:36:19 +03:00
Thamatip Chitpong
f18111b641
[WINMM] Winmm fixes for system sound ( #4635 )
...
CORE-13951
MIDIMAP_LoadSettings and PlaySound:
Use RegOpenCurrentUser to access the appropriate HKEY_CURRENT_USER key.
This allows functions that use HKEY_CURRENT_USER to be called from system
processes while impersonating, for example: winlogon.
PlaySound:
- Open the correct registry key.
- Expand environment strings if registry value type is REG_EXPAND_SZ.
- Handle "SystemDefault" event and improve flags handling.
- Don't use proc_PlaySound as thread proc.
- Fix SND_ASYNC flag for system processes.
Move get_mmio* code out of proc_PlaySound to fix impersonation problem.
2023-05-05 14:19:34 +02:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00