Commit Graph

1267 Commits

Author SHA1 Message Date
Maarten Lankhorst
3e5f7f49fe winmm: Wake up timer after the timer list is empty. 2010-05-24 11:16:57 +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
00eaa92945 winmm: Make timer keep a ref on winmm while it's running. 2010-05-19 11:20:37 +02:00
Jörg Höhle
c89853ebe5 winmm: More MIDI boundary tests & fixes. 2010-05-19 11:17:27 +02:00
Jörg Höhle
a311dff763 winmm: A NULL CALLBACK_FUNCTION is acceptable since w2k. 2010-05-19 11:17:26 +02:00
Jörg Höhle
e3869300b9 winmm: WAVE/MIDI_MAPPER (-1) is a 32 bit UINT, not 16. 2010-05-19 11:17:26 +02:00
Gerald Pfeifer
eab579dfcb winmm/tests: Remove two unused variables (and dead code) from check_position. 2010-05-10 18:20:36 +02:00
Gerald Pfeifer
6a6749937b winmm/tests: Remove variable start which is not really used from wave_out_test_deviceOut. 2010-05-03 15:42:05 +02:00
Paul Vriens
be7c811338 winmm: Update Dutch translation. 2010-05-03 13:54:31 +02:00
Maarten Lankhorst
963102fd89 winmm: Fix handle leak in timer tests. 2010-04-26 10:22:29 -05:00
Gerald Pfeifer
d623f0045a winmm: Remove variables duration and samples which are not really used from check_position. 2010-04-26 07:03:04 -05:00
Gerald Pfeifer
2af5528a0c winmm: Remove variable devID which is not really used from MMDRV_Message. 2010-04-26 07:00:32 -05:00
Jörg Höhle
c662c35edc winmm: MCI_SYSINFO dwRetSize counts characters, not bytes.
MSDN says the contrary.
2010-04-16 12:39:26 +02:00
Jörg Höhle
0bc218b9db winmm: Prepare transition of MCI parser to 64bit. 2010-04-14 18:21:07 +02:00
Alexandre Julliard
36822bbd7d winmm/tests: Fix a pointer conversion warning on 64-bit. 2010-04-12 15:39:32 +02:00
Maarten Lankhorst
137469479c winmm: Remove timeGetTime. 2010-04-12 15:39:20 +02:00
Jörg Höhle
db0df4c067 winmm: Improve MCI A/W mapping. 2010-04-12 15:38:15 +02:00
Jörg Höhle
b84576fcef winmm: MCI system commands are not eligible for auto-open. 2010-04-12 15:37:44 +02:00
Jörg Höhle
c31bdb98f9 winmm/tests: Add more MCI tests. 2010-04-01 18:12:41 +02:00
Jörg Höhle
4ed308f452 winmm: Improve MCI's Sysinfo string command. 2010-04-01 18:12:41 +02:00
Jörg Höhle
f70b2f5493 winmm: Improve MCI's Sysinfo command. 2010-04-01 18:12:41 +02:00
Jörg Höhle
e89468734d winmm: Support MCI "close all" command.
This is not yet generalized to "pause all" or "stop all".
2010-04-01 18:12:41 +02:00
Maarten Lankhorst
7d1199de72 winmm: Clean up mapper code. 2010-04-01 18:12:41 +02:00
Maarten Lankhorst
d368aefdbe winmm: Clean up MMDRV_Init. 2010-04-01 18:12:40 +02:00
Maarten Lankhorst
3a96c85cfb winmm: Remove some dead code. 2010-04-01 18:12:40 +02:00
Maarten Lankhorst
4f4dd855c4 winmm: Defer loading drivers until they are requested. 2010-04-01 18:12:40 +02:00
Jörg Höhle
74ad854e41 winmm/tests: Use cpp's __LINE__ to print meaningful line numbers. 2010-03-30 14:57:51 +02:00
Francois Gouget
3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Jörg Höhle
104cc7c28e midimap: Allow GetVolume by device identifier. 2010-03-19 13:15:44 +01:00
Maarten Lankhorst
b0337ada1a winmm: Allow SND_ALIAS|SND_FILENAME in PlaySound. 2010-03-18 13:46:38 +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
bafbc9820e winmm/tests: Fix up to 3 MCI test failures. 2010-03-02 16:11:05 +01:00
Gerald Pfeifer
9d8160c52a winmm/tests: Fix test condition in test_midiStream(). 2010-02-25 12:10:28 +01:00
Jörg Höhle
10b1e2ee88 winmm/tests: Fix transient notification error: messages may arrive late. 2010-02-24 15:12:30 +01:00
Jörg Höhle
9b442134cf winmm/tests: MIDIHDR tests. 2010-02-22 13:18:48 +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
e1cf94d9da midimap: Have GetDevCaps error out when no MIDI device is present. 2010-02-22 13:16:57 +01:00
Alexandre Julliard
6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Jörg Höhle
a956086e18 winmm: dwBytesRecorded controls how much is played, not dwBufferLength. 2010-02-19 15:10:29 +01:00
Alexandre Julliard
f7a447bada winmm/tests: Fix a couple of incorrect casts. 2010-02-16 15:50:21 +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
a8b8078704 midimap: Implement callback/notification. 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
771a29da86 winmm/tests: Initial set of MIDI tests. 2010-02-03 15:49:01 +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