Commit Graph

58 Commits

Author SHA1 Message Date
Lukáš Krejčí 1d9a3f6d12 mciqtz32: Don't overflow seek times during multiplication.
Seek times are of type REFERENCE_TIME (64-bit), but the multiplication
is done in DWORD (32-bit).

Signed-off-by: Lukáš Krejčí <lskrejci@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 21:53:27 +02:00
Bruno Jesus 71fbaba426 mciqtz32: Implement MCI_DGV_PLAY_REPEAT.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 19:48:44 +01:00
Akihiro Sagawa cab9db9d95 mciqtz32: Use dB unit when setting audio volume.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:10 +09:00
Andrew Eikum d7cc002566 winmm: Restrict some MCI actions to the creating thread.
This reverts commit 46d5973961 and fixes
bug 38241 another way.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 15:25:46 +09:00
Andrew Eikum 924c97fe90 mciqtz: Implement MCI_RESUME.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:08:45 +09:00
Sebastian Lackner 3179dd7bb1 mciqtz32: Unset DebugInfo->Spare[0] before destroying critical sections.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:06:54 +09:00
Andrew Eikum 708a6b06cb mciqtz32: Support MCI_DGV_PUT_DESTINATION.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-17 15:40:39 +09:00
Akihiro Sagawa 998af35a3e mciqtz32: Watch the player thread while waiting a player task. 2015-06-02 20:53:43 +09:00
Akihiro Sagawa 7d5af1d889 mciqtz32: Simplify null parameter checks. 2015-05-12 17:33:59 +09:00
Akihiro Sagawa 46d5973961 mciqtz32: Guarantee that CoInitialize and CoUninitialize run on the same thread. 2015-05-12 17:33:50 +09:00
Akihiro Sagawa 0221688cdd mciqtz32: Fix notify flag behavior. 2015-03-18 19:27:51 +09:00
Akihiro Sagawa 7561375ede mciqtz: Implement MCI_DGV_SETAUDIO_VOLUME. 2015-03-06 00:02:03 +09:00
Akihiro Sagawa 7b0d86514a mciqtz32: "status mode" returns resource strings. 2015-02-03 16:30:57 +09:00
Frédéric Delanoy 2e9aa0c599 mciqtz32: Use BOOL type where appropriate. 2013-10-24 10:50:01 +02:00
Marcus Meissner c6761b8b9d mciqtz32: Do not print uninitialized variables (Coverity). 2013-09-06 11:46:52 +02:00
Nikolay Sivov 7f4d634e80 mciqtz: Call interface methods properly. 2012-08-20 10:59:01 +02:00
Andrew Eikum 8e88a5a6fa mciqtz32: Stop the graph when the file is no longer playing. 2012-03-29 18:40:41 +02:00
Andrew Eikum ad175df21a mciqtz: Actually assign result to the output structure. 2012-03-09 11:33:09 +01:00
Marcus Meissner 4ef1e17f03 mciqtz: Mark one variable as static. 2011-05-20 10:32:48 +02:00
Aric Stewart dc4d607062 mciqtz32: Do not allow MCIQTZ_mciUpdate to interrupt a playing video. 2010-09-28 17:33:20 +02:00
Maarten Lankhorst 1583057fc8 mciqtz32: Fix window visibility. 2010-08-16 13:48:01 +02:00
Maarten Lankhorst 6d8d3d74fa mciqtz32: Fix mciPlay. 2010-07-30 14:59:41 +02:00
Maarten Lankhorst 910b95d328 mciqtz32: Fix mciOpen. 2010-07-30 14:59:41 +02:00
Maarten Lankhorst baa7dcb90e mciqtz32: Simplify mciWhere. 2010-07-30 14:59:40 +02:00
Maarten Lankhorst c2a0c774e2 mciqtz32: Add support for MCI_STATUS_MODE. 2010-07-30 14:44:09 +02:00
Maarten Lankhorst 1e5ce5309e mciqtz32: Add support for mciWindow. 2010-07-30 12:06:43 +02:00
Maarten Lankhorst 7737c0ad66 mciqtz32: Remove individual queryinterfaces. 2010-07-30 12:06:04 +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
Maarten Lankhorst aa65a56afe mciqtz32: Add support for MCI_PAUSE. 2010-05-20 12:45:53 +02:00
Maarten Lankhorst ecbc152977 mciqtz32: Add support for MCI_STATUS_TIME_FORMAT. 2010-05-20 12:45:51 +02:00
Maarten Lankhorst 573abf8398 mciqtz32: Handle window visibility better.
Video Window only needs to be created on play, so defer until then.
2010-05-20 12:45:44 +02:00
Maarten Lankhorst 6956ce6153 mciqtz32: Add support for mciUpdate. 2010-05-19 13:16:34 +02:00
Maarten Lankhorst e51d5af9d6 mciqtz32: Add support for MCI_DGV_WHERE_SOURCE. 2010-05-19 13:16:34 +02:00
Maarten Lankhorst 4eddb852b1 mciqtz32: Handle mciOpen better. 2010-05-19 13:16:34 +02:00
Maarten Lankhorst e331a84fc0 mciqtz32: Implement MCI_STATUS_LENGTH. 2010-05-18 18:42:10 +02:00
Maarten Lankhorst f65d4c5a47 mciqtz32: Add command table from mciavi32. 2010-05-18 18:42:10 +02:00
Christian Costa 0d1cba8e4f mciqtz32: Only call CoUninitialize when CoInitializeEx succeeds. 2010-04-12 12:38:36 +02:00
Jörg Höhle 403a820ed1 mciqtz32: Complete MCI GetDevCaps/capability. 2010-02-12 15:52:26 +01:00
Christian Costa 4e3b5b872e mciqtz: Improve MCIQTZ_mciSet traces. 2009-12-30 16:19:37 +01:00
Christian Costa d0a3ef4f40 mciqtz: Add stub for MCI_SETAUDIO. 2009-12-30 16:15:10 +01:00
Jörg Höhle c4faae9412 mciqtz32: Fix open/close omissions. 2009-11-30 16:37:38 +01:00
Christian Costa 51ad286d37 mciqtz32: Add support for MCI_SET. 2009-04-29 13:06:32 +02:00
Christian Costa 240ddb27c4 mciqtz32: Add support for MCI_WHERE. 2009-04-27 13:25:01 +02:00
Christian Costa 42e9acdffb mciqtz32: Add support for MCI_GETDEVCAPS. 2009-04-27 13:24:56 +02:00
Christian Costa fd80a7b7c4 mciqtz32: Stop the device only after param and device checks are done. 2009-04-23 12:56:54 +02:00
Christian Costa 7b1b498a31 mciqtz32: Make sure the device is valid before starting the play. 2009-04-23 12:56:48 +02:00
Christian Costa aa9550e689 mciqtz32: Move MCIQTZ_mciGetOpenDev at the top and always use it. 2009-04-23 12:56:43 +02:00
Christian Costa ca0503d3e1 mciqtz32: Remove all remaining tabs. 2009-04-22 12:56:10 +02:00
Christian Costa 93009ebbed mciqtz32: Show messages in hex as they are defines in headers. 2009-04-20 16:44:10 +02:00
Christian Costa 586d9cf569 mciqtz32: Hook MCI_STOP. 2009-04-20 16:44:04 +02:00