Re: winmm WAVE_MAPPER patch

2004-05-08 Thread Eric Pouech
Wine on the other hand doesn't return an error when there are no devices. I haven't looked at the data it returns but it must be uninitialized garbage because there is no device to return the capabilities of. not exactly. The wave mapper itself (dlls/winmm/wavemap/wavemap.c, function wodGetCaps)

Re: winmm WAVE_MAPPER patch

2004-05-08 Thread Robert Reif
This problem was found while looking at the winetest results. Windows returns an error when asked to get the capabilities of the default device when there are no devices present. This makes sense because you have to have at least one device to have a default one. Wine on the other hand doesn't ret

Re: winmm WAVE_MAPPER patch

2004-05-08 Thread Eric Pouech
Robert Reif a écrit : Fixes a bug where waveOutGetDevCapsA succeeds with the WAVE_MAPPER device when there are no devices. I'm not sure this is best fix because the code is hard to follow but it does work. I'm not sure it's the right place to fix it. Did you try on windows what happens with waveOu