https://bugs.winehq.org/show_bug.cgi?id=39165
--- Comment #11 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Dmitry Timoshkov from comment #10)
(In reply to Andrew Eikum from comment #9)
Created attachment 52199 [details] Fix xaudio build
Dmitry, I think this will fix it by disabling xaudio2_7 if openal-soft is not found. Please test (don't forget to clean the tree, run autoconf, etc).
I'm not an autoconf expert, so review is welcome.
Seems to work, thanks.
Thanks for testing. I'll submit upstream.
Is it possible to use standard openal API instead of openal-soft,
No, unfortunately. Only openal-soft provides a software renderer. Every other openal implementation outputs only to hardware devices. I don't want to implement another mixer in Wine, and due to XAudio2 providing "effect chains," we may need access to the mixed samples before they are sent to hardware.
or even implement xaudio on top of direct sound API?
We could do this, though it isn't how Windows works. dsound's mixer and especially resampler aren't very fast or well featured, and frankly I would rather move dsound to use openal than try to reimplement those mixer features in Wine.
How many distributions provide openal-soft in addition to (or instead of) plain openal?
Arch Linux provides only openal-soft: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=p...
Ubuntu provides only openal-soft: http://packages.ubuntu.com/trusty/libopenal1
Debian provides only openal-soft: https://packages.debian.org/jessie/libopenal-dev
Modern Fedora provides only openal-soft: http://koji.fedoraproject.org/koji/packageinfo?packageID=8993
Gentoo provides only openal-soft: https://packages.gentoo.org/package/media-libs/openal
What's left? What distro are you using?