[Bug 39165] dlls/xaudio2_7 fails to compile (unconditional dependency on OpenAL)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 28 07:23:16 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39165

--- Comment #11 from Andrew Eikum <aeikum at 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=packages/openal

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?

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