winmm/tests: Fix upto 3 MCI test failures.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Tue Mar 2 06:54:13 CST 2010


Hi,

this fixes some of the test failures.

1. Somehow the bogus 41000 value crept into my code. It resulted in
testing the soundcard's ability (MCIERR_OUTOFRANGE), which was not
the purpose.

2. It appears that the Vista/w7 machines without sound (recognized by
the number of capture tests) fail to record (WAVE_INPUTSUNSUITABLE)
yet succeed in setting wave format parameters!?!

3. I gave up trying to understand why some machines can record and
play yet fail the two MCI sound commands with MCIERR_HARDWARE.

Tested on native and Linux with sound enabled and disabled.

Regards,
	Jörg Höhle

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winmm-tests-Fix-upto-3-MCI-test-failures.patch
Type: application/octet-stream
Size: 5475 bytes
Desc: 0001-winmm-tests-Fix-upto-3-MCI-test-failures.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100302/eff2656e/attachment.obj>


More information about the wine-patches mailing list