1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00
wine/dlls/msacm32
Eric Pouech bb63f676f3 msacm32: Use extended structure definition for driver configuration.
1a) fixes a too short memory allocation on 64bit (DRVCONFIGINFO is 20 byte
    large while only 16 bytes were allocated)
1b) incidentally, removes a bunch of GCC11 warnings (generated by 1a)
2)  introduces DRVCONFIGINFOEX (note, in SDK, it's defined in mmiscapi.h;
    since it doesn't exist yet in Wine, I added the structure to
    mmsystem.h, where DRVCONFIGINFO already exists)
3)  initializes the missing field

Note: my testing don't show on Win10's msacm32 that DRV_CONFIGURE uses the
DRVCONFIGINFOEX structure.
So, maybe (wild guess here), the extended structure is only used
when the driver is linked to some hardware.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 14f8089dc1)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2022-11-08 14:20:39 +01:00
..
tests msgsm32.acm: Msgsm32 should not perform PCM-to-PCM conversion. 2021-08-18 18:41:54 +02:00
driver.c msacm32: Use extended structure definition for driver configuration. 2022-11-08 14:20:39 +01:00
filter.c
format.c
internal.c
Makefile.in makefiles: Make -mno-cygwin the default. 2021-09-20 22:45:48 +02:00
msacm32.rc
msacm32.spec
msacm32_main.c
pcmconverter.c
stream.c
wineacm.h