reactos/sdk/lib/drivers
Oleg Dubinskiy 5949c20d97
[MMIXER] Fix additional data size initialization for different audio formats (#6753)
Calculate size of the additinal data based on the format tag specified by the caller.
For PCM wave format, it should be zero, and for all others,
it should be taken from cbSize member of WAVEFORMATEX structure.
- Initialize data size for each format appropriately.
- Append it to the total pin connect allocation size, to allocate enough memory for it.
- Use it as additional data size for requested wave format.
- Append it to the total size of data format.
- Add SAL2 annotations for MMixerInitializeDataFormat function.
Fixes two crashes in winmm:capture and winmm:wave winetests, which have been introduced by 12b3272d9e.
So this is an addendum to that commit.
CORE-19514
2024-04-18 23:19:35 +02:00
..
arbiter [SDK:DDK][NTOS:PNP] Implement PnP arbiters initialization 2022-01-10 06:35:45 +03:00
aux_klib [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
copysup [REACTOS] Explicitly link against pseh & include pseh headers in a few places 2021-04-28 13:10:23 +02:00
csq [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
hidparser [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
ntoskrnl_vista [NTOSKRNL_VISTA] IoQueueWorkItemEx: Pass new context for the queue (#6276) 2024-01-11 12:29:53 +01:00
rdbsslib [REACTOS] Explicitly link against pseh & include pseh headers in a few places 2021-04-28 13:10:23 +02:00
rtlver [NTOS] Remove ROS-specific __NTOSKRNL__ 2022-05-07 17:53:51 +02:00
rxce [REACTOS] Explicitly link against pseh & include pseh headers in a few places 2021-04-28 13:10:23 +02:00
sound [MMIXER] Fix additional data size initialization for different audio formats (#6753) 2024-04-18 23:19:35 +02:00
virtio [SDK][VIRTIO][NETKVM] Make VirtIO a separate library (#6280) 2024-01-16 17:55:35 -08:00
wdf [CMAKE] Elimitate the use of GCC and CLANG variables 2022-05-27 01:37:34 +03:00
CMakeLists.txt [SDK][VIRTIO][NETKVM] Make VirtIO a separate library (#6280) 2024-01-16 17:55:35 -08:00