Andrew Eikum
0627ddcf15
winmm: Don't count unused frames.
2013-07-27 11:56:28 -05:00
Andrew Eikum
35e4aac8f6
winmm/tests: Fix waveInGetPosition type.
...
We're comparing the reported value against dwBytesRecorded, so we should
request the value to be in bytes.
2013-07-27 11:56:24 -05:00
Marcus Meissner
faeb9a5bfc
winmm: Fix incorrect parameter for test debug (Coverity).
2013-06-28 13:14:25 +02:00
Andrew Eikum
d4560b0ce0
winmm/tests: Fix test that fails on NT4.
2013-05-31 19:16:00 +02:00
Andrew Eikum
ace442f3b7
winmm/tests: Only test non-mapper devices in interactive mode.
...
Other devices might be less reliable, but we should generally expect
WAVE_MAPPER to behave well. This also massively reduces test runtime,
depending on how many devices are present.
2013-04-29 11:41:59 +02:00
Akihiro Sagawa
7a22250867
winmm: Inherit the seek position when using standard file handle.
2013-04-04 19:30:21 +02:00
Andrew Talbot
11ebf851b2
winmm: Remove unneeded address-of operator from function name.
2013-04-01 12:19:21 +02:00
Andrew Eikum
2d76befbdd
winmm: Shutdown the devices thread when all devices are closed.
2013-03-26 12:11:47 +01:00
Jörg Höhle
2722f2cbfc
winmm: Fix GetPosition when using MSACM codecs.
2013-03-12 16:29:11 +01:00
Andrew Eikum
dd0751ae83
winmm/tests: Add tests for non-block-aligned fragment sizes.
2013-03-11 13:38:39 +01:00
Andrew Eikum
f74128f132
winmm: Truncate buffers to align to frame size.
2013-03-11 13:38:30 +01:00
Jörg Höhle
fe7a057a32
winmm: Don't log the uninitialised MCI output buffer in case of error.
2013-03-05 09:37:46 +01:00
Andrew Eikum
db92670f97
winmm/tests: Add another valid return code.
2013-03-04 19:28:26 +01:00
Jörg Höhle
4f0743bffa
winmm: WAVE_OPEN_QUERY causes no WIM/WOM_OPEN notification.
2013-02-22 17:36:21 +01:00
Jörg Höhle
f67bc43e22
winmm: Handle GetTickCount overflow in MIDI player.
2013-02-14 17:37:14 +01:00
Jörg Höhle
d4b2d48f24
winmm: More compatible waveIn/Out[Un]Prepare WHDR_* flag handling.
2013-02-13 17:19:43 +01:00
Jörg Höhle
b95910ccbc
winmm: More compatible midiIn/Out[Un]Prepare MHDR_* flag handling.
2013-02-13 17:19:43 +01:00
Francois Gouget
6ad54620f0
winmm/tests: Allow more margin in the test_asyncWAVE() playback check.
2013-01-22 20:01:57 +01:00
Francois Gouget
f963f93964
Assorted spelling fixes.
2013-01-07 11:10:40 +01:00
Michael Stefaniuc
3b4bb9dcf3
winmm: Add missing LeaveCriticalSection on error paths (Smatch).
2013-01-07 11:09:30 +01:00
Andrew Eikum
93348b21f7
winmm: Don't map the device if WAVE_FORMAT_DIRECT is given.
2013-01-02 13:35:51 +01:00
Andrew Eikum
8f03c51e55
winmm: Reroute WAVE_MAPPER devices as the default device changes.
2012-12-28 11:26:40 +01:00
Andrew Eikum
b73da85dec
winmm: Open WAVE_MAPPER devices in their own devices array.
2012-12-27 12:08:21 +01:00
Andrew Eikum
68679158b6
winmm: Don't give a period time to IAudioClient::Initialize.
2012-12-27 12:08:14 +01:00
Andrew Eikum
4ab4bc5d09
winmm: Rearrange device mapping when a new default device is chosen.
2012-12-26 18:23:06 +01:00
Andrew Eikum
08f73e2a07
winmm: Use a separate array to map the default device.
2012-12-24 13:32:58 +01:00
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
Jörg Höhle
f5628373e5
winmm: Call IsFormatSupported for WAVE_FORMAT_QUERY only.
2012-11-09 11:51:39 +01:00
Jörg Höhle
e3e0bfca20
winmm: Avoid generic MMSYSERR_ERROR during initialisation.
2012-11-09 11:50:45 +01:00
Jörg Höhle
6086c7be19
winmm: Prefer using MMSYSERR_* over AUDCLNT_E_* from mmdevapi.
2012-11-09 11:48:53 +01:00
André Hentschel
126fded4a4
winmm: Mark up fallthrough switch case (coverity).
2012-11-08 15:37:51 +01:00
Jörg Höhle
1fc362ce55
winmm: Turn some MCI parser ERR into FIXME.
2012-10-30 14:37:55 +01:00
Maarten Lankhorst
6f84708902
winmm: Do not blindly reset device when already stopped.
2012-10-19 16:51:56 +02:00
Jörg Höhle
8ff7436d21
winmm: The "open new ..." MCI string command sets an empty OPEN_ELEMENT.
2012-09-27 13:08:28 +02:00
Francois Gouget
eabbe5ab58
winmm: MMDRV_GetRelated() is not used anymore so remove it.
2012-08-13 11:51:54 +02: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
47332210dd
winmm: Don't call MMDevAPI during process exit.
2012-05-11 15:39:21 +02:00
Andrew Eikum
31291cdc6c
winmm: Close open wave devices upon process detach.
2012-05-08 09:30:31 +02:00
Andrew Eikum
d022cc1ddf
winmm: Support DRV_QUERYDEVICEINTERFACE in waveXxxMessage.
2012-04-06 20:12:21 +02:00
Andrew Eikum
1b21fe827f
mmddk.h: Remove unused, Wine-specific WinMM defines.
2012-04-03 17:53:37 +02:00
Andrew Eikum
447b045825
winmm: Report waveIn devices' component type as Microphone.
2012-03-28 11:35:52 +02:00
Andrew Eikum
6a6e1bd50e
winmm: Support DRVM_MAPPER_PREFERRED_GET in waveXxxMessage.
2012-03-28 11:35:44 +02:00
Andrew Eikum
3579bbd8ab
winmm: Remove unused define.
2012-03-08 17:57:40 +01:00
Jörg Höhle
21e47e905e
winmm: Make midiStream* messages asynchronous to avoid deadlocks.
2012-02-17 18:06:51 +01:00
Jörg Höhle
1b11576005
winmm: Avoid using SuspendThread, it can hang Wine.
2012-02-17 18:06:50 +01:00