dlls/winmm/tests/capture.c - yes, we can open a device in 2MHz...

Francois Gouget fgouget at free.fr
Sat Nov 6 06:11:32 CST 2004

On Thu, 4 Nov 2004, Robert Reif wrote:

> Jakob Eriksson wrote:
>> As shown by:
>> http://test.winehq.org/data/200411021000/2000_IDWASEMPTY_1/winmm:capture.txt 
>> capture.c:571:found 1 WaveIn devices
>> capture.c:302:  0: "Avance AC'97 Audio" 
>> (\\?\pci#ven_1106&dev_3059&subsys_00000000&rev_10#3&61aaa01&0&8d#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\wave) 
>> 5.0 (1:101)
>> capture.c:305:     channels=65535 formats=00fff
>> capture.c:364: Test failed: waveInOpen(0): opening the device with 2 MHz 
>> sample rate should fail:  rc=MMSYSERR_NOERROR(The specified command was 
>> carried out.)
> That's a driver bug.

Driver bug or not, there are Windows systems that behave this way 
(precisely those that have these buggy drivers).
The real question is:

Is there a Windows application that crashes because of this?

If not then IMHO we should consider this behavior to be unspecified and 
thus not test it.

Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
     I haven't lost my mind, it's backed up on tape around here somewhere...

More information about the wine-devel mailing list