http://bugs.winehq.org/show_bug.cgi?id=32297
--- Comment #2 from Andrew Eikum aeikum@codeweavers.com 2012-11-29 12:23:28 CST --- Created attachment 42669 --> http://bugs.winehq.org/attachment.cgi?id=42669 IsFormatSupported improvements
Here's a tarball with patches to fix IsFormatSupported in the 3 drivers. The results from running the tests in attachment 42632 are below.
ALSA: render.c:511: Test failed: Exclusive IsFormatSupported with nAvgBytesPerSec=0 and nBlockAlign=0 returned 80070057 render.c:523: Test failed: Shared IsFormatSupported with nAvgBytesPerSec=0 and nBlockAlign=0 returned 00000001 0x11d690 render.c:542: Test failed: Exclusive IsFormatSupported with dwChannelMask=0x3ffff returned 00000000 render.c:612: Test failed: Shared IsFormatSupported with wBitsPerSample=256 returned 88890008 (nil)
OSS: render.c:511: Test failed: Exclusive IsFormatSupported with nAvgBytesPerSec=0 and nBlockAlign=0 returned 80070057 render.c:523: Test failed: Shared IsFormatSupported with nAvgBytesPerSec=0 and nBlockAlign=0 returned 00000001 0x11cf08 render.c:542: Test failed: Exclusive IsFormatSupported with dwChannelMask=0x3ffff returned 00000000 render.c:612: Test failed: Shared IsFormatSupported with wBitsPerSample=256 returned 88890008 (nil)
CoreAudio: render.c:511: Test failed: Exclusive IsFormatSupported with nAvgBytesPerSec=0 and nBlockAlign=0 returned 80070057 render.c:523: Test failed: Shared IsFormatSupported with nAvgBytesPerSec=0 and nBlockAlign=0 returned 00000001 0x1295f8 render.c:542: Test failed: Exclusive IsFormatSupported with dwChannelMask=0x3ffff returned 00000000 render.c:602: Test failed: Shared IsFormatSupported with SubFormat=-1 returned 00000001 0x1295f8 render.c:612: Test failed: Shared IsFormatSupported with wBitsPerSample=256 returned 00000001 0x1295f8