Fabian Maurer
27014cfafe
msacm32/tests: Avoid "misleading indentation" warnings.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 16:15:52 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Hiroki Awata
d05dd4460c
msgsm32.acm: Msgsm32 should not perform PCM-to-PCM conversion.
...
If the source and destination are both in a specific PCM format (1
channel, 16bit), acmStreamOpen will select the GSM 6.10 driver in
preference to the built-in, causing incorrect conversion.
Signed-off-by: Hiroki Awata <castaneai@by.black>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 18:41:54 +02:00
Michael Müller
99d4cdcf0b
l3codeca.acm: Check input format in MPEG3_StreamOpen.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:21:37 +02:00
Michael Stefaniuc
077db39cec
msacm32: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:44:27 +02:00
Nikolay Sivov
f03b8a42f9
msacm32/tests: Fix a memory leak in tests (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-17 22:12:08 +02:00
Zebediah Figura
84e61e6a07
msacm32: Add invalid parameter checks for acmFormatChoose().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-23 19:45:31 +02:00
Zebediah Figura
cadedd73f9
msacm32: Rewrite PCM conversion functions.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-19 18:48:31 +02:00
Zebediah Figura
d31d656b6f
include: Pack WAVEFORMAT structs.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-13 20:56:20 +02:00
Zebediah Figura
ab2760ec33
msacm32: Try to suggest PCM to PCM conversion first.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-08 16:44:59 +02:00
Zebediah Figura
8e88af31cd
msacm32: Add more invalid parameter checks for acmFormatSuggest().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-08 16:44:59 +02:00
Zebediah Figura
1e30f79b70
msacm32: Add invalid parameter checks for acmFormatDetails().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-08 16:44:58 +02:00
Zebediah Figura
c984aa5fc9
msacm32: Add more invalid parameter checks for acmFormatEnum().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-08 16:44:58 +02:00
Francois Gouget
199af34f08
msacm32/tests: Make acm_driver_func() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-10 19:19:16 +01:00
Bruno Jesus
f3f49a29d5
msacm32/tests: Beginnings of a custom driver test.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-29 12:20:21 +01:00
Bruno Jesus
d4fd43c971
msacm32: Handle invalid source length in acmStreamPrepareHeader.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 23:54:41 +09:00
Bruno Jesus
61eda97fd5
msacm32: Handle invalid use of reserved parameter in acmStreamPrepareHeader.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 23:54:41 +09:00
Bruno Jesus
395b9c321b
msacm32/tests: Add more acmStreamPrepareHeader tests.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 12:43:36 +09:00
Bruno Jesus
cb5ba51f94
msacm32/tests: Add some acmStreamPrepareHeader and acmStreamConvert tests.
...
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 13:21:10 +09:00
Michael Stefaniuc
baf0af67ae
msacm32/tests: Remove always true condition (PVS-Studio).
...
dd.szShortName is an array of CHAR and not an arbitrary pointer.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:50:51 +09:00
Nikolay Sivov
bc26431e94
msacm32/tests: Allow alternative product id.
2015-09-25 21:00:51 +02:00
Bruno Jesus
c6afba8979
msacm32: Quit on unsupported destination format in PCM_FormatSuggest.
2015-09-09 16:19:09 +09:00
Bruno Jesus
af8760e6e5
msacm32/tests: Add tests for acmFormatSuggest().
2015-09-09 16:19:06 +09:00
Andrew Eikum
ab22ea74a4
msacm32: Make ACM driver details match native more closely.
2015-05-27 14:31:39 +09:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Andrew Eikum
3cb2ddfd09
msacm32: Don't clear DONE flag in Un,PrepareHeader.
2013-11-04 20:14:35 +01:00
André Hentschel
0a9531f9b8
msacm32/tests: Fix tests compilation with __WINESRC__ defined.
2013-10-24 10:47:03 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Gerald Pfeifer
bf9d6f2dfd
msacm32/tests: Simplify check_count and msacm_tests.
2010-05-03 16:47:51 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Michael Stefaniuc
a29b421425
dlls/msacm32: Avoid a sizeof()+cast in an ok() call.
2009-10-06 11:58:03 +02:00
Aric Stewart
bfe83b22c2
msacm32/tests: msacm32 can enumerate drivers that cannot be loaded or have their details queried. Deal with this properly.
2009-08-24 11:58:27 +02:00
Michael Stefaniuc
8aeacc5fb5
include: Change some DWORD to DWORD_PTR in msacm.h.
...
The change is for Win64 compatibility and it matches the DDK.
2009-02-05 13:15:21 +01:00
Michael Stefaniuc
da1f67a30d
msacm32: Replace malloc/free with HeapAlloc/HeapFree.
2007-06-26 11:58:03 +02:00
Michael Stefaniuc
723b884b26
msacm32/tests: Win64 printf format warning fixes.
2006-10-06 12:33:22 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
c4fde65022
msacm32: Renamed the dlls/msacm directory to dlls/msacm32.
2006-04-10 16:55:04 +02:00