Commit Graph

1398 Commits

Author SHA1 Message Date
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