[Bug 32297] dwChannelMask, nAvgBytesPerSec and nBlockAlign handled incorrectly by mmdevapi drivers in IsFormatSupported.

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 29 12:23:28 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=32297

--- Comment #2 from Andrew Eikum <aeikum at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list