Andrew Eikum
e19be58e90
winmm: Handle DRV_QUERYMAPPABLE in waveXxxMessage.
2011-10-04 15:20:58 -05:00
Marcus Meissner
c7f8ad487d
winmm: Mark two functions as hidden.
2011-10-03 16:10:52 -05:00
Jörg Höhle
3ba00cf538
winmm: Mark headers WHDR_DONE at the last possible time.
2011-09-30 10:31:51 -05:00
Francois Gouget
3de330db54
tests: Remove unneeded assert.h includes.
2011-09-27 10:59:56 +02:00
Andrew Eikum
b1fdaa81b0
dsound: Remove hardware acceleration support.
2011-09-26 18:38:07 +02:00
Jörg Höhle
5f9e03d118
winmm: waveOutReset returns all buffers.
2011-09-26 18:09:31 +02:00
Jörg Höhle
afa5751015
winmm: Separate WINMM_Pause and WINMM_Reset.
2011-09-26 18:09:27 +02:00
Jörg Höhle
38752f5bf7
winmm: Fix sum of available samples.
2011-09-26 18:09:24 +02:00
Michael Stefaniuc
f83c470805
winmm: Remove casts to the type of the casted expression.
2011-09-22 19:51:50 +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
Akihiro Sagawa
203d06d410
winmm: Add support for MEVT_LONGMSG.
2011-09-08 20:08:06 +02:00
Andrew Eikum
f6890ef0e2
winmm: Determine the driver from MMDevAPI.
...
This uses a half-implemented, Wine-specific IMMDevice object to extract
the driver name.
2011-09-01 18:06:37 +02:00
Andrew Talbot
4aca760126
winmm: Constify some variables.
2011-08-23 16:53:53 +02:00
Jörg Höhle
2e01ea4bda
winmm: Remove redundant code.
2011-08-05 15:22:48 +02:00
Jörg Höhle
547f4cace9
winmm: Restore checking of callback flags.
2011-08-05 15:22:48 +02:00
Jörg Höhle
b9de906ac1
winmm: Fix logic conditions.
2011-08-05 15:22:48 +02:00
Jörg Höhle
961683704b
winmm: Fix memory leak in msacm error path.
2011-08-05 15:22:48 +02:00
Jörg Höhle
7fed738353
winmm: Assign to structs instead of using memcpy.
2011-08-05 15:22:48 +02:00
Jörg Höhle
710d200427
winmm: Replace one HeapAlloc with stack allocation.
2011-08-05 15:22:47 +02:00
Jörg Höhle
c7d0c093e5
winmm: Functions that take an open HWAVE don't need StartDevicesThread.
2011-08-03 17:49:47 +02:00
Andrew Eikum
5512c2482f
winmm: Fix looping handling.
2011-08-02 11:39:56 +02:00
Andrew Eikum
d385675f36
winmm: Fix check for DCB_NULL callback type.
...
Noticed by Francois Gouget.
2011-07-18 18:31:29 +02:00
Andrew Eikum
2754c75092
winmm: Perform Open and Close callbacks from client thread.
2011-07-18 18:31:24 +02:00
Andrew Eikum
2a58273fcd
winmm: Close ACM stream when closing wave device.
2011-07-18 18:31:12 +02:00
Francois Gouget
724b0a928c
winmm: Remove an unused variable in WINMM_GetComponentTypeLineInfo().
2011-07-18 16:23:29 +02:00
Andrew Eikum
3b16f46794
wineesd.drv: Remove unused WinMM driver.
2011-07-15 12:11:05 +02:00
Andrew Eikum
30eeb996ed
winmm: Implement mixer* on top of MMDevAPI.
2011-07-15 10:09:55 +02:00
Andrew Eikum
ccd2a24139
winmm: Remove driver implementation of mixer*.
2011-07-15 10:09:53 +02:00
Francois Gouget
70730f9168
winmm: Make WINMM_DRVMessage() static.
2011-07-14 14:48:54 +02:00
Andrew Eikum
8cd5f12e6b
winmm: Implement waveIn* on top of MMDevAPI.
2011-07-14 14:40:05 +02:00
Andrew Eikum
b3ab657c3b
winmm: Remove driver implementation of waveIn*.
2011-07-14 14:39:57 +02:00
Andrew Eikum
58bd405778
winmm: Support WAVE_MAPPED flag in waveOut*.
2011-07-14 14:39:54 +02:00
Andrew Eikum
be158e48ad
winmm: Implement waveOut* on top of MMDevAPI.
2011-07-12 11:49:21 +02:00
Andrew Eikum
901af51ea3
winmm: Remove driver implementation of waveOut*.
2011-07-12 11:49:01 +02:00
André Hentschel
e70de44edf
winmm: Remove dead initialization (clang).
2011-07-06 11:20:10 +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
a700f9e0fc
winmm: Pull wave and mixer functions into their own source file.
2011-06-29 10:24:04 -05:00
Andrew Eikum
79575d33ad
winmm/tests: Remove uninteresting tests.
2011-06-29 10:23:01 -05:00
Jörg Höhle
40dfd72bdb
winmm: Process MCI_DGV_INFO which is larger than MCI_INFO.
2011-05-24 18:28:36 +02:00
Jörg Höhle
7df286c136
winmm: Fix 8KB leak when mmioOpen fails (Valgrind).
2011-05-12 14:24:28 +02:00
Marcus Meissner
b4af43db7b
winmm: Mark internal symbols with visibility hidden.
2011-04-25 13:02:10 +02: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
e6a501bbd6
winmm: Trace DriverCallback once upon entry.
2011-04-11 17:31:26 +02:00
Jörg Höhle
c3774b664a
winmm: Check callback flags prior to opening a driver.
2011-04-04 14:42:12 +02:00
Francois Gouget
ff54c00601
winmm: Remove a space before a punctuation.
2011-03-30 18:23:40 +02:00
Jörg Höhle
e0dcc2cd7d
winmm: PlaySound concurrency cleanup.
2011-03-30 13:28:04 +02:00
Jörg Höhle
a0dbd846c6
winmm: Get rid of psStopEvent which was never used like an event.
2011-03-30 13:28:04 +02:00
Jörg Höhle
ca37dbcfe6
winmm: Abort PlaySound in case of audio error.
2011-03-30 13:28:04 +02:00
Jörg Höhle
15ad749ece
Revert "winmm: Fix PlaySound so it doesn't block when another sound is already playing.".
...
This reverts commit f44bc89bc4
.
Let the player thread call waveOutReset itself instead.
2011-03-30 13:28:04 +02:00
Francois Gouget
74a75e479b
winmm: Add full stops to some error messages.
2011-03-16 14:14:23 +01:00
Jörg Höhle
d1a034627c
winmm: MCI does not support the 0xhexadecimal notation.
2011-03-14 12:39:28 +01:00
Jörg Höhle
fd8576bfdb
winmm: Let WideCharToMultiByte search for NUL string terminator (Valgrind).
2011-02-21 12:46:36 +01:00
Gerald Pfeifer
1dae68e71b
winmm: Simplify MCI_DumpCommandTable a bit.
2011-02-18 14:54:51 +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
Jörg Höhle
0a81f12ce1
winmm: PlaySound ignores SND_NOWAIT.
2011-01-14 18:26:20 +01:00
Alexandre Julliard
8aefc9081c
winmm: Convert translations to po files.
2011-01-06 17:50:17 +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
4431c32c91
winmm: Fixed boundary condition in mmioOpen file name parsing.
2010-12-05 16:44:28 +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
Alexander Puzankov
507db530b2
winmm: The default I/O procedure should return MMIOERR_FILENOTFOUND if the openable file is not found.
2010-12-01 17:16:21 +01:00
Alexander Puzankov
304c455b2b
winmm: Use the default I/O procedure only if a custom procedure for a given FOURCC is not found.
2010-12-01 17:16:21 +01:00
Alexander Puzankov
cc5f2b2c76
winmm: Revert "Handle playing of files containing a '+' as part of the filename.".
...
This reverts commit ed593fdf2f
.
2010-12-01 17:16:20 +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
bad21ebe76
winmm: Use MCI_HWND and MCI_HDC in resource files.
2010-11-12 15:43:08 +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
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
d1e9a09388
winmm: Add support for the MCI_INTEGER64 type.
...
Based on a patch by Octavian Voicu.
2010-09-29 15:22:00 +02:00
Alexandre Julliard
41a5b37b7a
winmm: Use proper structure where possible to fix command string parsing on 64-bit.
2010-09-29 14:47:55 +02:00
Alexandre Julliard
c2224ea8bb
winmm/tests: Skip tests if MIDI cannot be opened.
2010-09-29 12:19:34 +02:00
Luca Bennati
672b2ff59f
winmm: Update Italian translation.
2010-09-27 14:10:44 +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
ec7aef8378
winmm: Always unload the MCI driver when Open fails.
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
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
Francois Gouget
f8c55fdcd1
winmm: Make MCI_{MessageToString,strdupAtoW}() static and remove MCI_strdupWtoA().
2010-08-31 14:23:47 +02:00
Anders Jonsson
8ecf937c10
winmm: Add Swedish translation.
2010-08-27 11:59:30 +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
Maarten Lankhorst
6910b0f143
winmm: Fix fd leak on restarting timer.
2010-08-16 12:59:36 +02:00
Hwang YunSong
c625e95af1
winmm: Update Korean resource.
2010-08-16 12:57:04 +02:00
Anders Jonsson
2ebe732453
winmm: Fix typo in English, Slovak resources.
2010-08-03 11:06:00 +02:00
Tim Cadogan-Cowper
d6610b8b3a
winmm: Wrap TRACE strings with debugstr_a/debugstr_an.
2010-07-22 10:12:06 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Michael Stefaniuc
6301f65534
winmm: Move from a per resource to a global LANGUAGE setting.
2010-07-21 13:24:00 +02:00
Igor Paliychuk
d563479686
winmm: Add Ukrainian translation.
2010-07-15 11:29:16 +02:00
Michael Stefaniuc
689336043c
winmm: Add the Romanian translation.
...
Translation by Claudia Cotună.
2010-07-13 16:28:01 +02:00
Eric Pouech
e9e6845d66
winmm: Added a couple of tests for structure alignment.
2010-06-28 11:45:23 +02:00
Tim Cadogan-Cowper
d650316661
winmm: Correctly calculate dwFileSize for apps installing their own IOproc.
2010-06-28 11:45:09 +02:00
Vitaly Lipatov
b974852ce1
Update Russian translations.
2010-06-18 16:22:07 +02:00
Eric Pouech
258d42982c
winmm: Only compute dwFileSize for MMIO objects with a DOS ioproc.
2010-06-14 14:14:15 +02:00
Sven Baars
7dafe8692f
winmm: Fix Dutch translation.
2010-06-07 12:24:00 +02:00
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