Commit Graph

57 Commits

Author SHA1 Message Date
Jörg Höhle 42bdb48c67 mciavi: Fix player deadlock when starting to play. 2012-11-13 17:03:15 +01:00
Andrew Eikum b0312eab92 mciavi32: Advance video frames based on frame duration, not audio sample rate. 2012-08-16 11:40:55 +02:00
Marcus Meissner fb48414419 mciavi32: Mark internal symbols with hidden visibility. 2011-05-20 10:32:51 +02:00
Jörg Höhle 3412b41924 mciavi: MCI_OPEN @NNNN should use an open AVIFile/Stream handle. 2010-11-15 15:04:06 +01:00
Jörg Höhle bad21ebe76 winmm: Use MCI_HWND and MCI_HDC in resource files. 2010-11-12 15:43:08 +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
Alexandre Julliard 9387810dab winmm: Make MCI_STATUS return type a 64-bit integer on 64-bit platforms.
Based on a patch by Octavian Voicu.
2010-09-29 20:17:01 +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
Octavian Voicu 7f5e835c14 winmm: Replace command ids with symbolic constants in mci command resources. 2010-09-02 11:53:09 +02:00
Octavian Voicu 3324614ed3 winmm: Replace return types with symbolic constants in mci command resources. 2010-09-02 11:51:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
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