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

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 26 11:24:13 CST 2012


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

             Bug #: 32297
           Summary: dwChannelMask, nAvgBytesPerSec and nBlockAlign handled
                    incorrectly by mmdevapi drivers in IsFormatSupported.
           Product: Wine
           Version: unspecified
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mmdevapi
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: m.b.lankhorst at gmail.com
    Classification: Unclassified


Created attachment 42628
  --> http://bugs.winehq.org/attachment.cgi?id=42628
mmdevapi render test patch, passes on a win7 machine

Each driver currently handles IsFormatSupported in an inconsistent manner, so I
did some tests against win7 to see what happens.

Attached testcase is the result, and currently fails on all drivers.

nAvgBytesPerSec and nAvgBytesPerSec seem to be ignored for WAVE_FORMAT_PCM,
as I sort of expected, and gets an E_INVALIDARG for WAVE_FORMAT_EXTENSIBLE.

dwChannelMask seems to be ignored for shared mode, and strictly validated on
exclusive mode.

-- 
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