Commit Graph

62 Commits (0f2bed51bdd73676406e908eb105dde1efa886fc)

Author SHA1 Message Date
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
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Austin English f4c4488df8 Spelling fixes. 2008-04-07 13:36:17 +02:00
Andrew Talbot 1a540fa4ce mciwave: Assign to struct instead of using memcpy. 2008-03-05 11:21:08 +01:00
Rob Shearman 3f4eb28bf5 mciwave: Fix the character count passed to GetTempPathW in create_tmp_file. 2008-02-19 13:39:24 +01:00
Alex Villacís Lasso 0b9cab02c4 mciwave: Prevent division by zero when processing non-PCM codec. 2007-06-26 11:53:05 +02:00
Dmitry Timoshkov 0028eb5556 mciwave: Fix compilation warnings in 64-bit mode. 2007-06-01 12:39:56 +02:00
Andrew Talbot 7984532fe2 mciwave: Constify a variable. 2007-05-29 11:54:54 +02:00