https://bugs.winehq.org/show_bug.cgi?id=15866
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #14 from Michael Stefaniuc mstefani@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