Andrew Eikum
b1d9d43af7
winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound.
2012-12-04 19:34:26 +01:00
Akihiro Sagawa
c2cf4ddb93
winmm: Fix handling of mmio file buffers.
2012-11-28 20:14:52 +01:00
Akihiro Sagawa
1aa15750ed
winmm/tests: Add EOF and buffer pointer tests for mmio.
2012-11-20 13:32:50 +01:00
Akihiro Sagawa
2d3f320463
winmm: Fix SEEK_END direction of mmio files without buffering.
2012-11-13 18:01:44 +01:00
Akihiro Sagawa
10c7f5859c
winmm/tests: Add more mmioSeek tests.
2012-11-13 18:01:39 +01:00
Michael Stefaniuc
d94eaa3b20
winmm: Avoid TRUE FALSE conditional expressions.
2012-07-31 12:36:20 +02:00
Francois Gouget
fac36c55e9
Assorted typo, spelling, wording and case fixes.
2012-05-15 16:26:43 +02:00
Andrew Eikum
d022cc1ddf
winmm: Support DRV_QUERYDEVICEINTERFACE in waveXxxMessage.
2012-04-06 20:12:21 +02:00
Andrew Eikum
6a6e1bd50e
winmm: Support DRVM_MAPPER_PREFERRED_GET in waveXxxMessage.
2012-03-28 11:35:44 +02:00
Jörg Höhle
644f539358
winmm: Parse MCI colon notation as in T:MM:SS:F.
2012-01-27 18:05:47 +01:00
Jörg Höhle
32c23cbc80
winmm/tests: Properly recover from the WAVERR_STILLPLAYING case.
2012-01-19 21:08:50 +01:00
Jörg Höhle
9ef4a0099c
winmm: Fix conversion to MMTIME, avoid floating point arithmetic.
2012-01-05 21:27:34 +01:00
Michael Stefaniuc
5439aede62
include: Remove 'l' modifier from numeric constants in mmsystem.h.
2011-10-25 16:57:25 +02:00
Andrew Eikum
0d567ff9f8
winmm: Also track input device position.
2011-10-12 17:07:01 +02:00
Andrew Eikum
e19be58e90
winmm: Handle DRV_QUERYMAPPABLE in waveXxxMessage.
2011-10-04 15:20:58 -05:00
Francois Gouget
3de330db54
tests: Remove unneeded assert.h includes.
2011-09-27 10:59:56 +02:00
Francois Gouget
5619b2154b
winmm/tests: Make it clear that no msrle.avi file is needed for the standard tests.
2011-09-22 19:51:50 +02:00
Andrew Eikum
2754c75092
winmm: Perform Open and Close callbacks from client thread.
2011-07-18 18:31:24 +02:00
Andrew Eikum
f78af0e046
winmm/tests: Don't test MCI output if no output devices are available.
2011-07-05 15:48:06 +02:00
Andrew Eikum
79575d33ad
winmm/tests: Remove uninteresting tests.
2011-06-29 10:23:01 -05:00
Jörg Höhle
a174713f82
winmm: DriverCallback returns TRUE iff there is notification.
2011-04-11 17:31:50 +02:00
Jörg Höhle
c3774b664a
winmm: Check callback flags prior to opening a driver.
2011-04-04 14:42:12 +02:00
Jörg Höhle
d1a034627c
winmm: MCI does not support the 0xhexadecimal notation.
2011-03-14 12:39:28 +01:00
Austin English
d583f12d8e
winmm/tests: Remove dead assignment (LLVM/Clang).
2011-02-17 18:33:42 +01:00
Greg Geldorp
e45caf5d6b
winmm/tests: Skip some tests on VMware.
2011-01-28 17:41:51 +01:00
Greg Geldorp
fa973b812d
winmm/tests: Don't use same buffer for both input and output.
2011-01-03 11:54:03 +01:00
Alexander Puzankov
ec00d6dced
winmm/tests: Add tests for mmioOpen for the file name of the form EXAMPLE.EXT+ABC.
2010-12-01 17:16:21 +01:00
Jörg Höhle
0b0770c84f
mciseq: The native MCI sequencer cannot record.
2010-11-12 15:43:46 +01:00
Jörg Höhle
c138970ea2
winmm/tests: Fix test failure in multi-byte locale.
2010-11-11 18:12:50 +01:00
Jörg Höhle
d9b16027b0
mciwave: Fix some MCI_STATUS return code.
2010-11-03 14:44:50 +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
Jörg Höhle
a9f9b34e17
winmm: MCI_SYSINFO doesn't change the output buffer in case of error.
2010-11-02 12:04:37 +01:00
Jörg Höhle
88a8d211fb
winmm: mciSendString always returns a response string (albeit empty).
2010-11-02 12:03:03 +01:00
Jörg Höhle
8cf585f69e
winmm/tests: Fix one mcicda test failure on VMware.
2010-10-27 18:37:32 +02:00
Detlef Riekenberg
aa95bc4e31
winmm/tests: Set a struct member to 0 is obsolete after adding a memset.
2010-10-04 11:03:57 +02:00
Saulius Krasuckas
815cd34c53
winmm/tests: Initialize whole MIDIHDR struct before using it.
2010-10-01 17:48:10 +02:00
Alexandre Julliard
c2224ea8bb
winmm/tests: Skip tests if MIDI cannot be opened.
2010-09-29 12:19:34 +02:00
Alexandre Julliard
ddac146e7d
winmm/tests: Fix some tests that fail on Windows with no input device.
2010-09-22 18:58:46 +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
Jörg Höhle
b4cc03f3e3
winmm: Auto-open MCI core commands only.
2010-09-16 11:16:23 -05:00
Jörg Höhle
8fb1e3eba2
winmm: Support MCI_SOUND.
2010-09-16 11:16:23 -05:00
Jörg Höhle
294d0c9501
winmm: Implement MCIERR_DUPLICATE_ALIAS and MCIERR_DEVICE_OPEN.
2010-09-03 16:02:31 +02:00
Jörg Höhle
6b271b6d3c
winmm: GetDeviceID only considers a single name per entry.
2010-09-03 16:02:31 +02:00
Jörg Höhle
565c56c61f
winmm: Correctly parse the MCI Sysinfo command.
2010-09-03 16:02:31 +02:00
Jörg Höhle
c6a655622c
winmm/tests: Share common function dbg_mcierr.
2010-09-03 11:04:47 +02:00
Jörg Höhle
d223b30bd6
winmm/tests: Add MCI parser tests.
2010-09-02 18:05:24 +02:00
Jörg Höhle
0030ef8d26
winmm/tests: MCI_STATUS returns DWORD_PTR, unlike other commands.
2010-09-02 18:05:24 +02:00
Jörg Höhle
0cf326ce55
winmm/tests: Add a few Open/Close MCI tests.
2010-09-02 18:05:23 +02:00
Jörg Höhle
e1fe9e4fed
winmm: Close MCI device after immediate auto-open commands.
2010-09-02 18:05:23 +02:00
Jörg Höhle
ef372e259a
winmm: MCI open always creates an alias for subsequent commands.
2010-09-02 18:05:23 +02:00
Jörg Höhle
ecb02ec9b7
mcicda: Access the first CD-ROM unless given a device letter.
2010-08-25 18:40:47 +02:00
Jörg Höhle
5bff616faa
mcicda: Opens d, d:, d:\, d:\foo since w2k. Only d: is portable.
2010-08-25 18:40:09 +02:00
Jörg Höhle
70d8fce222
winmm/tests: Initial tests for CD audio with the MCI.
2010-08-23 15:52:47 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Eric Pouech
e9e6845d66
winmm: Added a couple of tests for structure alignment.
2010-06-28 11:45:23 +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
Jörg Höhle
c89853ebe5
winmm: More MIDI boundary tests & fixes.
2010-05-19 11:17:27 +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
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
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
Alexandre Julliard
36822bbd7d
winmm/tests: Fix a pointer conversion warning on 64-bit.
2010-04-12 15:39:32 +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
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
Jörg Höhle
74ad854e41
winmm/tests: Use cpp's __LINE__ to print meaningful line numbers.
2010-03-30 14:57:51 +02:00
Jörg Höhle
104cc7c28e
midimap: Allow GetVolume by device identifier.
2010-03-19 13:15:44 +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
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
Alexandre Julliard
f7a447bada
winmm/tests: Fix a couple of incorrect casts.
2010-02-16 15:50:21 +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
Dmitry Timoshkov
132e646fd4
winmm: Add a bunch of new mmio tests which discover some bugs in mmio handling.
2010-01-25 13:01:55 +01:00
Dmitry Timoshkov
7639ea3184
winmm: Buffer size must be at least MMIO_DEFAULTBUFFER (8192) bytes.
...
mmioOpen() with the length of buffer set to 0 expects the buffer to be at least
MMIO_DEFAULTBUFFER (8192) bytes in size, and using buffer of smaller size can
lead to various problems when the buffer actually gets used.
2010-01-18 14:15:43 +01:00
Jörg Höhle
e36db94c7c
winmm: Don't stop parsing after MCI's alias keyword.
2009-11-23 13:09:53 +01:00
Jörg Höhle
11f07c6f6b
winmm/tests: Introduce coherence tests among parts that may fail.
2009-11-23 13:09:50 +01:00
Jörg Höhle
7ade23e300
winmm: Enable more MCI waveaudio tests.
2009-11-16 15:18:18 +01:00
Jörg Höhle
18971c94b6
winmm/tests: Print symbolic MCIERR_ names.
2009-11-16 15:17:54 +01:00
Jörg Höhle
b04178eb01
mciwave/tests: Fix a few tests including one hang on Win9X.
2009-11-13 16:30:09 +01:00
Jörg Höhle
23060afdcd
mciwave: Play/Record return MCIERR_OUTOFRANGE as required.
2009-11-11 11:36:19 +01:00
Jörg Höhle
7c62fe4639
mciwave: Seek stops and rounds position down modulo nBlockAlign.
2009-11-11 11:35:47 +01:00
Jörg Höhle
096b774db2
mciwave: Implement Cue as no-op.
...
Tests show that it must not close the opened wave file.
2009-11-11 11:32:41 +01:00
Jörg Höhle
2dfd3e901b
mciwave: Rework MCI notification system.
2009-11-11 11:32:24 +01:00
Jörg Höhle
db921ef7dc
winmm/tests: Give flaky progress test more time.
2009-11-11 11:30:22 +01:00
Jörg Höhle
6b22861bfd
winmm: MCI Close all causes one notification per open driver.
2009-11-10 13:12:52 +01:00
Jörg Höhle
c4b5bd44c0
mciwave: Stop must not reset current position.
2009-11-10 13:12:32 +01:00
Jörg Höhle
d0e1a4f96f
winmm/tests: Fix MCI test failure on Win9x/WinME.
2009-11-10 13:10:55 +01:00
Francois Gouget
dff253abe6
winmm/tests: Add a trailing '\n' to an ok() call.
2009-11-09 19:41:07 +01:00
Nicolas Le Cam
556b1ca7ed
winmm/tests: Skip tests when running on non-english locale.
2009-11-09 19:38:19 +01:00
Jörg Höhle
de00535c13
mciwave: Allow (again) to set wave format parameters prior to recording.
2009-11-05 15:46:28 +01:00
Jörg Höhle
518f4f8cdb
mciwave: Set wave format PCM is the only one accepted.
2009-11-05 15:46:19 +01:00
Jörg Höhle
f177e61338
winmm: Do not crash on NULL MCI Sysinfo command output buffer pointer.
2009-11-05 15:46:14 +01:00