Commit graph

168015 commits

Author SHA1 Message Date
Anton Baskanov 157ffca64d dmsynth: Free the allocated presets manually.
FluidSynth never calls synth_preset_free(), causing preset and
instrument leaks.
2023-11-10 00:03:44 +01:00
Anton Baskanov ed7564304d dmsynth: Remove useless private data checks.
We always set the data.
2023-11-10 00:03:44 +01:00
Anton Baskanov 6de4ec0cae dmsynth: Create one FluidSynth sample per wave. 2023-11-10 00:03:44 +01:00
Anton Baskanov 840923eed6 dmsynth: Use generators to set root key and fine tune. 2023-11-10 00:03:44 +01:00
Anton Baskanov a303bb395f dmsynth: Keep track of voice/wave mapping. 2023-11-10 00:03:44 +01:00
Floris Renaud ad6e87c63f po: Update Dutch translation. 2023-11-10 00:03:44 +01:00
Yuxuan Shui d1e02148b6 ntdll: Tweak the binary representation of SRWLOCK.
There are applications that uses SRWLOCK in an invalid way and then checks its binary
representation. Tweak our representation a bit so they are happy.
2023-11-10 00:03:44 +01:00
Yuxuan Shui 74a3b133fa include: Add InterlockedExchangeAdd16. 2023-11-10 00:03:44 +01:00
Connor McAdams 3e84b49305 oleaut32: Lock ITypeLib2 interface reference count behind the typelib cache critical section on Release.
This prevents an ITypeLib2 interface being returned from the typelib
cache that is in the middle of being destroyed.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2023-11-10 00:03:44 +01:00
Zhiyi Zhang eb8eccbed4 uxtheme: Fix a test failure.
pszAppName should not be changed as it's used in the loop to check if window application name is set.
2023-11-09 23:00:40 +01:00
Jacek Caban 38d1002cec msvcp60: Use char type for FROZEN macro.
Fixes clang warning:
string.c:370:25: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion]
2023-11-09 23:00:40 +01:00
Jacek Caban 2e02cee9c4 msvcrt/tests: Don't define structs types inside other struct declaration.
Fixes -Wincompatible-pointer-types clang warnings.
2023-11-09 23:00:40 +01:00
Jacek Caban f7cf428f9f kernel32/tests: Remove unused variable. 2023-11-09 23:00:40 +01:00
Rémi Bernon 18a81b3cb2 dmime: Better implement performance times with tempo track. 2023-11-09 23:00:40 +01:00
Rémi Bernon 29940435fa dmime: Support playing secondary and control segments. 2023-11-09 23:00:40 +01:00
Rémi Bernon 8f9faf8868 dmime/tests: Test playing tempo track effect on performance times. 2023-11-09 23:00:40 +01:00
Rémi Bernon c6eca9276b dmime/tests: Add helpers to scale and check music time with tempo.
Be flexible on the comparison to ignore rounding errors.
2023-11-09 23:00:40 +01:00
Rémi Bernon 2d1f46c221 dmime: Fix tempo track GetParam with GUID_TempoParam implementation. 2023-11-09 23:00:40 +01:00
Rémi Bernon 92959b315b dmime/tests: Test tempo track GetParam with GUID_TempoParam. 2023-11-09 23:00:40 +01:00
Rémi Bernon 7a9e45ac13 dmime/tests: Test tempo track Play and DMUS_PMSGT_TEMPO messages. 2023-11-09 23:00:40 +01:00
Rémi Bernon f13fa16f01 dmime: Implement IDirectMusicPerformance_GetSegmentState semi-stub. 2023-11-09 23:00:40 +01:00
Rémi Bernon 617d7fc9b8 dmime/tests: Test IDirectMusicPerformance_GetSegmentState. 2023-11-09 23:00:40 +01:00
Paul Gofman d963626044 winmm: Fix pszSound allocation in PlaySound_Alloc(). 2023-11-09 23:00:40 +01:00
Alexandre Julliard c07d50c3b9 winevdm: Don't claim that 16-bit apps are DPI aware. 2023-11-09 23:00:40 +01:00
Alexandre Julliard 7710e37c47 win32u: Fix handling of process default DPI awareness.
It got broken by the conversion to NTUSER_DPI* values.
2023-11-09 23:00:40 +01:00
Alexandre Julliard 00fb82c315 rpcrt4: Generate vtbl delegating thunks at compile time. 2023-11-09 23:00:40 +01:00
Alexandre Julliard 439ce3a3ae rpcrt4: Generate stubless thunks at compile time. 2023-11-09 23:00:40 +01:00
Alexandre Julliard 533823ed2a winealsa.drv: Allocate the MIDI device array dynamically. 2023-11-09 23:00:39 +01:00
Alexandre Julliard 818385e176 wineoss.drv: Allocate the MIDI device array dynamically. 2023-11-09 22:59:40 +01:00
Alex Henrie 5a81b6ac43 dsound: Dynamically allocate the global device GUID arrays.
This removes the arbitrary limit on the number of renderers and
capturers while satisfying applications that expect the GUIDs to remain
valid after DirectSoundCaptureEnumerate returns.
2023-11-09 14:38:32 +01:00
Alex Henrie 73654470ab Revert "dsound: Get rid of the global device GUID arrays.".
This reverts commit e1f0318ec4.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55608
2023-11-09 14:38:32 +01:00
Paul Gofman ed7aca011c kernelbase: Put 0 to output string even for 1 char buffer in LoadStringW(). 2023-11-09 14:38:32 +01:00
Paul Gofman d93e289977 kernelbase: Return empty string from LoadStringW() if resource is not found. 2023-11-09 14:38:32 +01:00
Paul Gofman ad9303d888 user32: Put 0 to output string even for 1 char buffer in LoadStringW(). 2023-11-09 14:38:32 +01:00
Paul Gofman 726027d601 user32: Return empty string from LoadStringW() if resource is not found. 2023-11-09 14:38:32 +01:00
Zebediah Figura a328728702 wined3d: Record a dirty rect in wined3d_texture_create_dc(). 2023-11-09 11:21:18 +01:00
Zebediah Figura 8fa82bd1f8 d3d9/tests: Test that GetDC() records a dirty rect. 2023-11-09 11:21:18 +01:00
Zebediah Figura ee209a93cb mfplat/tests: Shut down the media source in test_create_from_file_handler_callback_Invoke().
Break its reference count cycle so that we don't leak it.
2023-11-09 09:48:09 +01:00
Alex Henrie dfa0c9d28d wmvcore: Use CRT allocation functions. 2023-11-08 22:25:08 +01:00
Alex Henrie 726c5df58f devenum: Use CRT allocation functions. 2023-11-08 22:25:03 +01:00
Ziqing Hui d0153cf37f winegstreamer: Implement wg_muxer_push_sample. 2023-11-08 22:24:56 +01:00
Ziqing Hui 37b2548399 winegstreamer: Implement ProcessSample for media sink. 2023-11-08 22:24:56 +01:00
Dmitry Timoshkov dfffe7b49c uxtheme: If the application class is already set then OpenThemeData() should fail.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-11-08 17:25:41 +01:00
Dmitry Timoshkov 87f1a38019 uxtheme: Move fall back to default class to MSSTYLES_OpenThemeClass().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-11-08 17:25:41 +01:00
Dmitry Timoshkov 992d197d87 uxtheme/tests: Add a test for SetWindowTheme/OpenThemeData sequence.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-11-08 17:25:41 +01:00
Dmitry Timoshkov 9d8250e55e uxtheme: Parse app/class name in OpenThemeData().
Themed Delphi applications use "explorer::listview" and "explorer::treeview":
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/lcl/interfaces/win32/win32themes.pas

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-11-08 17:25:41 +01:00
Dmitry Timoshkov e4ede41c5f uxtheme/tests: Add a test for OpenThemeData("explorer::treeview").
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-11-08 17:25:41 +01:00
Dmitry Timoshkov b238f0afe6 uxtheme/tests: Move the IsThemePartDefined() test before hTheme handle is closed.
Also fix some hTheme handle leaks.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-11-08 17:25:41 +01:00
Shaun Ren ea50958171 msttsengine: Add ISpTTSEngine stub. 2023-11-08 17:25:41 +01:00
Shaun Ren ad8f354f62 msttsengine: Add stub dll. 2023-11-08 17:25:41 +01:00