Jörg Höhle
c89853ebe5
winmm: More MIDI boundary tests & fixes.
2010-05-19 11:17:27 +02:00
Maarten Lankhorst
4f4dd855c4
winmm: Defer loading drivers until they are requested.
2010-04-01 18:12:40 +02:00
Francois Gouget
3428b94a8d
Assorted spelling and case fixes.
2010-03-22 10:49:13 +01:00
Jörg Höhle
64b6287e83
winmm: Accept the ancient, smaller MIDIHDR.
2010-02-22 13:18:26 +01:00
Jörg Höhle
a8f1d2eb2f
winmm: MIDIHDR.dwOffset is set with MEVT_F_CALLBACK only.
...
At the same time, the change to the player loop prevents a buffer
overshoot and a (perhaps unlikely) program trace where a sequence
Suspend; Stop; midiStreamOut could send MOM_DONE twice and access
memory possibly released within a MOM_DONE DCB_FUNCTION callback.
2010-02-22 13:17:26 +01:00
Jörg Höhle
63d0aeeafa
winmm: Do not access MIDIHDR past MOM_DONE DriverCallback.
2010-02-22 13:17:04 +01:00
Jörg Höhle
a956086e18
winmm: dwBytesRecorded controls how much is played, not dwBufferLength.
2010-02-19 15:10:29 +01:00
Jörg Höhle
67124e1c0b
winmm: Improve initial MIDI player thread synchronisation.
2010-02-11 14:38:45 +01:00
Jörg Höhle
7bd6be0706
winmm: Fix incorrect memory useage (Valgrind w/ MIDI tests).
2010-02-11 14:38:44 +01:00
Jörg Höhle
a758c6a981
winmm: The 64KB buffer limit on MIDIHDR buffers applies to streams only.
2010-02-03 15:49:09 +01:00
Jörg Höhle
bc76916b90
winmm: Reset MIDIHDR flags prior to return from midiStreamOut.
2010-02-02 12:00:07 +01:00
Jörg Höhle
b0d2f77cc9
winmm: Have xyzGetDevCaps return MMSYSERR_BADDEVICEID, not INVALHANDLE.
2010-02-02 11:47:19 +01:00
Jörg Höhle
06d6dd3e72
winmm: Perform stricter MIDI-related error checking.
2010-02-01 15:39:28 +01:00
Jörg Höhle
f1373d57c1
winmm: midiStreamPosition can select an alternative MMTIME format.
2010-02-01 14:11:04 +01:00
Jörg Höhle
9fac9d8ffd
winmm: Fix MIDI resource leaks.
2010-01-28 11:10:19 +01:00
Eric Pouech
37afecb883
winmm: A couple of simple fixes for winmm compilation on 64bit platforms.
2010-01-25 12:51:31 +01:00
Alexandre Julliard
18a7655234
winmm: Avoid using ReleaseThunkLock from 32-bit code.
2009-12-24 12:29:24 +01:00
Henri Verbeet
4adefb689a
winmm: Use wine_dbg_sprintf() in a few debug utility functions.
2009-11-30 12:49:30 +01:00
Francois Gouget
6f643290cf
winmm: WINMM_CheckForMMSystem() is not used, remove it.
2009-11-09 19:41:29 +01:00
Eric Pouech
14a68405d3
winmm: Simply use kernel32.{Release|Restore}ThunkLock instead of using 16bit convolutions.
2009-10-23 12:14:46 +02:00
Eric Pouech
69c963c3d1
winmm: Get rid of the bFrom32 parameter in MMDRV_Alloc and MMDRV_Message.
2009-10-23 12:14:22 +02:00
Eric Pouech
32c170344a
winmm: Move the 16bit management of wave out driver type to the new 16=>32 thunking scheme.
2009-10-23 12:14:15 +02:00
Eric Pouech
2d235de320
winmm: Move the 16bit management of midi stream (for midi out driver type) to the new 16=>32 thunking scheme.
2009-10-23 12:14:01 +02:00
Eric Pouech
80b079e011
winmm: Move the 16bit management of midi out driver type to the new 16=>32 thunking scheme.
2009-10-23 12:13:55 +02:00
Eric Pouech
84efa19e90
winmm: Move the 16bit management of midi in driver type to the new 16=>32 thunking scheme.
2009-10-23 12:13:47 +02:00
Eric Pouech
8aa64672de
winmm: Move the 16bit management of mixer driver type to the new 16=>32 thunking scheme.
2009-10-23 12:13:40 +02:00
Eric Pouech
09a9c87d6b
mmsystem: Cleanly separate MCI in MMSystem from WinMM code.
2009-10-19 11:38:34 +02:00
Alexandre Julliard
8f813fd4e4
winmm: Fix some Win64 pointer truncations issues.
2009-05-20 17:52:46 +02:00
Michael Stefaniuc
8fde5bf807
winmm: Remove superfluous pointer casts.
2009-02-20 18:07:42 +01:00
Michael Stefaniuc
3415f7788c
include: Change some DWORD to DWORD_PTR in mmddk.h.
...
This matches the DDK and removes 14 Win64 compile warnings.
2009-02-04 12:26:05 +01:00
Andrew Nguyen
0135bf8a0c
winmm: mixerOpen should return success with NULL dwCallback and CALLBACK_WINDOW flag.
2008-12-22 13:43:56 +01:00
Christian Costa
48b459afff
winmm: Implement stub for midiConnect and midiDisconnect.
2008-08-18 17:15:56 +02:00
Huw Davies
5798b95a51
winmm: Only fill in the MIXERLINEA struct if the call to mixerGetLineInfoW succeeds.
2008-07-18 13:41:19 +02:00
Lei Zhang
d20f982433
winmm: Do not unload drivers when the process is terminating.
2008-04-29 14:57:30 +02:00
Austin English
6e59cd2c34
Spelling fixes.
2008-04-22 12:20:12 +02:00
Andrew Talbot
19c5811256
winmm: Remove unneeded casts.
2008-02-06 12:43:53 +01:00
Austin English
79c0bc28ff
More spelling fixes.
2008-01-04 12:55:45 +01:00
Aric Stewart
35ecb1b6ee
winmm: Correct check for MIXER_GETLINECONTROLSF_ONEBYTYPE in mixerGetLineControlsA.
2007-11-29 15:32:03 +01:00
Francois Gouget
7e8a9e3dfb
winmm: Fix the mmTask*() prototypes.
2007-08-30 17:02:48 +02:00
Alexandre Julliard
1e178be862
winmm: Get rid of the WINE_MM_IDATA global structure, there's only one instance anyway.
2007-06-07 17:50:28 +02:00
Andrew Talbot
5f8d15027e
winmm: Exclude unused headers.
2007-05-29 11:53:57 +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
Maarten Lankhorst
0c6a63a062
winmm: Pass the right message to hwnd from mixer callback.
2007-04-23 13:55:06 +02:00
Maarten Lankhorst
35a8ee9340
winmm: Implement CALLBACK_WINDOW.
2007-04-16 12:12:46 +02:00
Jan Zerebecki
ca350ad2b1
winmm: Add DebugInfo to critical sections.
2007-03-12 13:40:57 +01:00
Eric Pouech
2f540b8602
winmm: Remove WINE_NO_LONG_AS_INT.
2006-11-09 11:44:30 +01:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Reif
a9bd81be63
winmm: Check waveOutGetVolume parameter.
2006-05-09 11:54:55 +02:00
Eric Pouech
7ec69e9c2b
LoadLibrary16 is no longer exported by name, so do the lookup by its
...
ordinal (when loading NE sibling).
2005-11-28 10:40:25 +01:00
Marcus Meissner
bd7ec9aca5
The last argument to MultiByteToWideChar is wide character count and
...
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00