[Bug 15866] MechCommander 2: DSERR_CONTROLUNAVAIL errors
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Dec 1 07:17:35 CST 2015
https://bugs.winehq.org/show_bug.cgi?id=15866
Michael Stefaniuc <mstefani at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #14 from Michael Stefaniuc <mstefani at redhat.com> ---
The proposed patch is incorrect. DSBCAPS_CTRL3D does not imply DSBCAPS_CTRLPAN.
Quite the opposite, the two flags are mutually exclusive. The code and comment
are actually correct but just for secondary IDirectSoundBuffer8.
On the other hand error checking in version 1 is incomplete. Native allows both
to create a 3D secondary buffer with both DSBCAPS_CTRL3D and DSBCAPS_CTRLPAN
set as well as calling SetPan() for such a buffer. The associated GetPan() on
the other hand fails with DSERR_CONTROLUNAVAIL.
I have submitted a fix for this with tests:
https://source.winehq.org/patches/data/117067
--
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