Commit graph

164870 commits

Author SHA1 Message Date
Shaun Ren
454283ec22 sapi: Implement ISpMMSysAudio::Get/SetDeviceId. 2023-06-09 10:34:43 +02:00
Zebediah Figura
682ad1c1df xaudio2/tests: Fix the IID_IXAPO query.
This was missed in 14c44d0b0a.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55016
2023-06-09 10:34:32 +02:00
Ziqing Hui
8310d9cbde mf/tests: Split size info tests from test_wmv_decoder_media_object. 2023-06-09 10:34:25 +02:00
Ziqing Hui
0f71442e9c mf/tests: Split output type tests from test_wmv_decoder_media_object. 2023-06-09 10:34:25 +02:00
Ziqing Hui
b2481f6522 mf/tests: Split input type tests from test_wmv_decoder_media_object. 2023-06-09 10:34:24 +02:00
Piotr Caban
781b8c3d6b msvcr100: Use Context blocking functions in _Condition_variable class. 2023-06-08 18:44:10 +02:00
Piotr Caban
7bf56117ce msvcr100: Use block_context_for helper in event::wait(). 2023-06-08 18:44:10 +02:00
Piotr Caban
d3d9297b60 msvcr100: Use block_context_for helper in Concurrency::wait(). 2023-06-08 18:44:10 +02:00
Piotr Caban
0f69396405 msvcr100: Add support for COOPERATIVE_TIMEOUT_INFINITE timeout in critical_section. 2023-06-08 18:44:10 +02:00
Piotr Caban
684dbfd0c7 msvcr100: Fix use after free in critical_section::try_lock_for(). 2023-06-08 18:44:09 +02:00
Alexandre Julliard
d12b125b4e ntdll: Update the reserved range on 64-bit to match the preloader.
cf. 6b0836e3f1.
2023-06-08 13:29:39 +02:00
Alexandre Julliard
bf1606cf35 ntdll: Use the full 4Gb for large address aware applications on Wow64. 2023-06-08 13:21:45 +02:00
Alexandre Julliard
78ffde79fe ntdll: Report the remaining part of the 64K after a view as free.
To avoid returning non-aligned reserved regions.
2023-06-08 13:21:10 +02:00
Alexandre Julliard
8b992fecad ntdll: Reimplement virtual_release_address_space() without using a callback. 2023-06-08 13:20:45 +02:00
Alexandre Julliard
800fc4164f ntdll: Reimplement fill_basic_memory_info() without using a callback.
And merge reported free areas.
2023-06-08 13:20:04 +02:00
Alexandre Julliard
b0aaa2f869 ntdll: Reimplement allocation of the virtual heap without using a callback. 2023-06-08 13:04:31 +02:00
Alex Henrie
6c1157435a regedit: Fix memory leak on error path in GetItemPath (scan-build). 2023-06-08 12:04:23 +02:00
Daniel Lehman
7b3690dd73 msi: Release record instead of free.
../dlls/msi/dialog.c:4476:11: warning: attempt to call free on non-heap object 'hdr' [-Wfree-nonheap-object]
    free( &rec->hdr );
          ^
2023-06-08 12:03:35 +02:00
Alex Henrie
d06b3fd527 msi: Fix memory leak on error path in MSI_ProcessMessage (scan-build). 2023-06-08 12:03:29 +02:00
Alex Henrie
b630718149 winhttp: Fix double free on error path in queue_task (scan-build).
queue_task cannot free the struct because it doesn't know whether the
struct contains pointers to other dynamically allocated memory that also
needs to be freed (as is the case with struct send_request).
2023-06-08 12:03:20 +02:00
Davide Beatrici
2cbaa59a26 wineoss: Use mmdevapi's AudioClient's GetCurrentPadding, GetStreamLatency, GetBufferSize. 2023-06-08 12:03:08 +02:00
Davide Beatrici
786c3a0afc winecoreaudio: Use mmdevapi's AudioClient's GetCurrentPadding, GetStreamLatency, GetBufferSize. 2023-06-08 12:03:08 +02:00
Davide Beatrici
896855c519 winealsa: Use mmdevapi's AudioClient's GetCurrentPadding, GetStreamLatency, GetBufferSize. 2023-06-08 12:03:08 +02:00
Davide Beatrici
182ae5b19b winepulse: Move AudioClient's GetCurrentPadding, GetStreamLatency, GetBufferSize into mmdevapi. 2023-06-08 12:03:08 +02:00
Davide Beatrici
be356451fc wineoss: Use mmdevapi's AudioClient's GetDevicePeriod, GetMixFormat, IsFormatSupported. 2023-06-08 12:03:08 +02:00
Davide Beatrici
cff4a813e3 winecoreaudio: Use mmdevapi's AudioClient's GetDevicePeriod, GetMixFormat, IsFormatSupported. 2023-06-08 12:03:08 +02:00
Davide Beatrici
cc9e486ba5 winealsa: Use mmdevapi's AudioClient's GetDevicePeriod, GetMixFormat, IsFormatSupported. 2023-06-08 12:03:08 +02:00
Davide Beatrici
9cd13ecb30 winepulse: Move AudioClient's GetDevicePeriod, GetMixFormat, IsFormatSupported into mmdevapi. 2023-06-08 12:03:08 +02:00
Alex Henrie
3fd8c85fd1 rpcrt4: Replace RPCRT4_strndupA with strdup. 2023-06-08 12:02:55 +02:00
Bernhard Kölbl
07d0f1f0c0 mf/tests: Remove duplicate call to MFStartup().
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-06-07 22:48:27 +02:00
Piotr Caban
8171cfb79b localspl: Don't pass original document name to cupsStartDocument.
It's used by the function to find document content type. Fixes regression
introduced by e164b8cefb.
2023-06-07 22:48:27 +02:00
Zebediah Figura
14c44d0b0a xaudio2: Use the preprocessor to modify definitions in xaudio2.idl and xaudio2fx.idl.
Instead of including the IDLs directly, define a local IDL that #includes them,
with XAUDIO2_VER defined, and include that generated header.

Get rid of compat.c, and use XAUDIO2_VER to modify the code in the other source
files.

Build the tests for both xaudio2_7 and xaudio2_8 using PARENTSRC, and use
XAUDIO2_VER to select between them. This mirrors the approach taken for
d3dcompiler, and makes it easier to test more xaudio2 versions in the future.
2023-06-07 22:48:27 +02:00
Zebediah Figura
c80285ffb1 xaudio2: Create XAPO objects directly from CreateAudioVolumeMeter() and CreateAudioReverb().
Instead of going through the class factory.
2023-06-07 22:48:27 +02:00
Zebediah Figura
77a83bc4bb xaudio2: Move CreateAudioVolumeMeter() and CreateAudioReverb() to xapo.c. 2023-06-07 22:48:27 +02:00
Zebediah Figura
10700c044b xaudio2/tests: Add a couple of helpers to abstract the difference between versions. 2023-06-07 22:48:27 +02:00
Rémi Bernon
397cd1c0c0 winex11: Remove now unnecessary ClipCursor forwarding to foreground thread. 2023-06-07 22:48:27 +02:00
Rémi Bernon
47e208e9ec win32u: Asynchronously apply or reset ClipCursor from the hardware message. 2023-06-07 22:48:27 +02:00
Rémi Bernon
5ebb1ed132 server: Queue a hardware WM_WINE_CLIPCURSOR message to the foreground thread.
When applying a new cursor clipping rect, or to the previous foreground
thread when foreground changes, to notify it of the cursor clipping rect
being reset.
2023-06-07 22:48:27 +02:00
Rémi Bernon
bd06c87b5b server: Use a separate helper to merge WM_MOUSEMOVE messages. 2023-06-07 22:48:27 +02:00
Rémi Bernon
2101d4d6ad server: Use the helper to reset the clip rect when the desktop size changes. 2023-06-07 22:48:27 +02:00
Rémi Bernon
b7570b798e win32u: Add a reset parameter to WM_WINE_CLIPCURSOR and driver ClipCursor. 2023-06-07 22:48:27 +02:00
Davide Beatrici
b16ab96168 wineoss: Use mmdevapi's AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
1874a17032 winecoreaudio: Use mmdevapi's AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
32683df5c3 winealsa: Use mmdevapi's AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
1c53edf33c winepulse: Move AudioClient's Start into mmdevapi. 2023-06-07 22:48:27 +02:00
Davide Beatrici
8b64db9902 winecoreaudio: Lock sessions in AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
71a6691978 winepulse: Lock sessions in AudioClient's Start. 2023-06-07 22:48:27 +02:00
Davide Beatrici
45cab2737d wineoss: Use mmdevapi's AudioClient's SetEventHandle, Reset, Stop. 2023-06-07 22:48:27 +02:00
Davide Beatrici
cc3362ec6c winecoreaudio: Use mmdevapi's AudioClient's SetEventHandle, Reset, Stop. 2023-06-07 22:48:27 +02:00
Davide Beatrici
f626aa2ab3 winealsa: Use mmdevapi's AudioClient's SetEventHandle, Reset, Stop. 2023-06-07 22:48:27 +02:00