Commit graph

46 commits

Author SHA1 Message Date
Jörg Höhle
594a70f550 winmm: Have MCI drivers handle notification for MCI_OPEN.
All notifications are handled locally by the drivers.
2010-05-20 16:25:44 +02:00
Michael Stefaniuc
cea6f01cd9 mciavi32: Remove redundant "not NULL" checks of the lpParms arg. 2010-05-17 12:42:33 +02:00
Jörg Höhle
33d1e593aa mciavi: Stubs should return a success code.
Partly reverts my commit 3e5c704e7a.
2010-03-16 17:20:34 +01: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
22569e6dce mciavi: Prevent deadlock when closing while playing or when paused. 2010-03-15 15:07:26 +01:00
Jörg Höhle
cbb46ec83c mciavi: Support more MCI_STATUS queries. 2010-02-12 15:52:26 +01:00
Jörg Höhle
541c6c2d97 mciavi: Step is like Seek. 2010-02-12 15:52:26 +01:00
Jörg Höhle
14c9f6a3cb mciavi: Support the MCI_TEST flag.
Some apps send each command twice: first with MCI_TEST, then without.

Actually, support is more complex: MCI_TEST acts per flag, not for
the whole command, e.g. "status audio source test" fails
while "status audio stream test" is supported.
2010-02-12 15:52:26 +01:00
Jörg Höhle
3e5c704e7a mciavi: Use MCIERR_UNSUPPORTED_FUNCTION, not 0 (NOERROR). 2010-02-12 15:52:26 +01:00
Jörg Höhle
a34831df13 mciavi: First check inputs, then (perhaps) stop and act. 2010-02-12 15:52:26 +01:00
Jörg Höhle
4ed7cb8656 mciavi: Do not stub unsupported recording or editing functions.
Native does not announce CAN SAVE / RECORD / LOCK capabilities either.
2009-12-18 14:03:12 +01:00
Jörg Höhle
e03b59c6a1 mciavi: Complete MCI GetDevCaps/capability.
The FIXME comments indicate flags where Wine differs from native w2k.
The returned results are consistent with what Wine implements.
2009-12-18 14:02:21 +01:00
Jörg Höhle
f47ea4681f mciavi: Simplify play loop. 2009-12-01 15:13:41 +01:00
Marcus Meissner
961e88f756 mciavi32: Removed duplicate strlen/NULL check (Coverity). 2009-11-10 14:38:18 +01:00
Vincent Povirk
075ff23394 mciavi32: Remove unnecessary string buffers in MCIAVI_mciSet. 2009-04-15 15:55:55 -05:00
Kirill K. Smirnov
e66e489417 mciavi32: Fix typo. 2009-03-24 13:54:18 +01:00
Christian Costa
c51ef12b17 mciavi: Don't wait for events we don't handle. 2009-01-19 14:23:43 +01:00
Christian Costa
2322a06dd6 mciavi: In MCI, RECT structure is used differently: rc.right = width & rc.bottom = height so do the conversion when needed. 2009-01-12 14:37:12 +01:00
Christian Costa
2f913efa83 mciavi: Implement MCI_DGV_PUT_WINDOW in MCIAVI_mciPut. 2009-01-02 12:55:52 +01:00
Anders Jonsson
bd0b00c92b mciavi32: Fix typo. 2008-12-23 19:56:20 +01:00
Alexandre Julliard
760f9bf3ed mciavi32: Make a function static. 2008-12-04 12:47:42 +01:00
Dmitry Timoshkov
1e942d6b1f mciavi32: Read the stream header in order to determine its type. 2008-06-25 20:28:17 +02:00
Andrew Talbot
6bb8525630 mciavi32: Remove unused variables. 2008-04-21 12:10:37 +02:00
Andrew Talbot
4c656d8802 mciavi32: Assign to struct instead of using memcpy. 2008-03-05 11:21:11 +01:00
Rob Shearman
5838185133 mciavi32: Fix the buffer length passed into strncat in MCIAVI_mciSet.
The number of remaining characters should be passed in, not the total 
buffer size.
2008-02-25 13:31:19 +01:00
Andrew Talbot
22f43db863 mciavi32: Remove unneeded casts. 2007-12-21 12:40:55 +01:00
Francois Gouget
96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Dmitry Timoshkov
d30e453392 mciavi32: Fix compilation warnings in 64-bit mode. 2007-06-01 12:40:13 +02:00
Dmitry Timoshkov
3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Jan Zerebecki
a8ed754e8c mciavi32: Add DebugInfo to critical sections. 2007-03-12 13:38:59 +01:00
Francois Gouget
9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Michael Stefaniuc
690ae7ba3d mciavi32: Win64 printf format warning fixes. 2006-10-12 21:43:10 +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
Francois Gouget
ce9b4baad8 Assorted spelling fixes. 2006-08-07 13:52:55 +02:00
Alexandre Julliard
eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard
77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +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
Alexandre Julliard
9ca8a86914 Link against libwine_unicode everywhere we use Unicode functions. 2006-05-24 18:05:40 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov
43cbb44f4f mciavi32: Rewrite asynchronous MCI_PLAY command handling.
Rewrite asynchronous MCI_PLAY command handling in MCIAVI driver, make
it more responsive to commands in the MCI_MODE_PLAY state by checking
hStopEvent even if the time frame between frames has expired.
2005-12-22 17:15:33 +01:00
Dmitry Timoshkov
8140d66c47 Fix all drivers DriverProc to conform to the DRIVERPROC definition. 2005-11-28 20:53:22 +01:00
Alexandre Julliard
0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard
7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Dmitry Timoshkov
5387b672a3 Directly copy DIB bits into destination DC. 2005-09-19 14:31:32 +00:00
Rémi Assailly
c6e294deb1 Moved mciavi32 to the top-level dlls directory. 2005-08-23 19:52:30 +00:00