Commit Graph

1368 Commits

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