Commit Graph

69 Commits

Author SHA1 Message Date
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
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Michael Stefaniuc 796cd56faf mciwave: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 12:33:31 +02:00
Alexandre Julliard f33a33700d mciwave: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 10:58:58 +02:00
Michael Stefaniuc 762d14e897 mciwave: 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 10:15:59 +02:00
Michael Stefaniuc aa808571e6 mciwave: Remove an unused assigment (PVS-Studio). 2015-01-16 16:53:23 +01:00
Michael Stefaniuc 2ab0bbafe0 mciwave: Simplify the check for an empty string (PVS-Studio). 2014-11-12 23:33:13 +09:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Jörg Höhle c3a4942b50 mciwave: Zero closed resource pointer to prevent reuse. 2012-02-17 18:06:49 +01:00
Jörg Höhle bdf7578389 mciwave: Always reach an end position expressed in milliseconds. 2012-01-31 15:37:57 +01:00
Jörg Höhle fc1e8e79c2 mciwave: Fix precondition to avoid having 2 simultaneous players. 2011-03-07 15:10:46 +01:00
Jörg Höhle 90da8b749e mciwave: Fix a leak when Open fails (valgrind). 2011-02-28 13:21:26 +01:00
Jörg Höhle d9b16027b0 mciwave: Fix some MCI_STATUS return code. 2010-11-03 14:44:50 +01:00
Jörg Höhle 22055590f6 winmm: MCI_INFO doesn't change the output buffer in case of error. 2010-11-02 12:45:31 +01:00
Sven Baars e169a780b0 mciwave: Fix some typos. 2010-09-23 19:21:22 +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
Michael Stefaniuc f9d2b85ea5 mciwave: Avoid using long. 2010-05-21 18:58:03 +02:00
Michael Stefaniuc 2721cff09e mciwave: Remove redundant "not NULL" checks of the variables lpParms.
Found by coccicheck.
2010-05-18 18:42:08 +02:00
Jörg Höhle f0baaff46a mciwave: MCI Status returns string resource when appropriate. 2010-04-01 18:12:41 +02:00
Jörg Höhle e8157bf50b mciwave: MCI Set Input|Output allows to select wave device. 2010-04-01 18:12:41 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Jörg Höhle 95970bb531 mciwave: MCI Capability returns number of wave devices. 2009-12-18 14:02:02 +01:00
Jörg Höhle ee3c8794ea mciwave: Abort the play loop in case of audio error. 2009-12-04 14:34:58 +01:00
Jörg Höhle b82f615cd4 mciwave: Use the current device ID for notification. 2009-11-11 11:37:03 +01:00
Jörg Höhle e3bce34af5 mciwave: Store only slots from OpenParms that we need. 2009-11-11 11:36:44 +01:00
Jörg Höhle 23060afdcd mciwave: Play/Record return MCIERR_OUTOFRANGE as required. 2009-11-11 11:36:19 +01:00
Jörg Höhle 7c62fe4639 mciwave: Seek stops and rounds position down modulo nBlockAlign. 2009-11-11 11:35:47 +01:00
Jörg Höhle afe944c085 mciwave: Allow MCI to Save non-PCM formats, obtained via Open. 2009-11-11 11:35:25 +01:00
Jörg Höhle 096b774db2 mciwave: Implement Cue as no-op.
Tests show that it must not close the opened wave file.
2009-11-11 11:32:41 +01:00
Jörg Höhle 2dfd3e901b mciwave: Rework MCI notification system. 2009-11-11 11:32:24 +01:00
Jörg Höhle 2ac86feb63 mciwave: Favour return over ExitThread. 2009-11-11 11:30:44 +01:00
Jörg Höhle c4b5bd44c0 mciwave: Stop must not reset current position. 2009-11-10 13:12:32 +01:00
Jörg Höhle c75d1cba15 mciwave: Return on error in Seek. 2009-11-10 13:11:55 +01:00
Jörg Höhle de00535c13 mciwave: Allow (again) to set wave format parameters prior to recording. 2009-11-05 15:46:28 +01:00
Jörg Höhle 518f4f8cdb mciwave: Set wave format PCM is the only one accepted. 2009-11-05 15:46:19 +01:00
Jörg Höhle 59bb360a5d mciwave: Correct MCI return codes. 2009-11-04 13:13:53 +01:00
Jörg Höhle d3dd250c2e mciwave: waveaudio does not support the shareable flag. 2009-11-04 13:13:49 +01:00
Jörg Höhle e652b6f6fa mciwave: Update message and comments. 2009-11-03 21:28:03 +01:00
Jörg Höhle 0ac408f7fc mciwave: Default wave format is 11025x8x1. 2009-10-28 13:19:45 +01:00
Jörg Höhle 7f4d81ede7 mciwave: Fix wave format first, then compute position.
nAvgBytesPerSec is the better factor in the presence of ADPCM, MPEG3 and other wave formats.
2009-10-28 13:19:03 +01:00
Jörg Höhle 7d002f228c mciwave: Send notification after everything else. 2009-10-26 13:21:42 +01:00
Jörg Höhle 3fc7da7f5e mciwave: Do not transition via Resume from Record into Play. 2009-10-26 13:21:32 +01:00
Jörg Höhle 3c6496d7b5 mciwave: Do not lie about state when winmm fails in Pause or Resume. 2009-10-26 13:21:23 +01:00
Jörg Höhle bf4665780c mciwave: Pause/resume is not accepted from every state. 2009-10-26 13:21:12 +01:00
Marcus Meissner 1ae601772c mciwave: Return on error (Coverity). 2009-10-19 11:42:20 +02:00
Eric Pouech 3d8507bcb8 mciwave: Try to synchronize better async commands. 2009-10-19 11:36:29 +02:00
Eric Pouech 49ff58e386 mciwave: Simplify async command management by directly calling the right function instead of going through winmm again. 2009-10-19 11:36:18 +02:00
Jörg Höhle 1a6aa96305 mciwave: Require at least 16 bytes in the WAVE fmt file header. 2009-09-24 13:30:18 +02:00
Alexandre Julliard ec1b28edb0 include: Fix a number of mmsystem.h structure for Win64. 2009-01-09 18:08:29 +01:00