[Bug 10495] Wine should support PulseAudio

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 12 17:29:33 CST 2010


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





--- Comment #198 from Ben Klein <shacklein at gmail.com>  2010-02-12 17:29:31 ---
(In reply to comment #196)
> If someone would write the pulseaudio driver patch according to the wine coding
> standards (where are them?) and complete the missing bits (which functionality
> is exactly missing/do we need more optimization?) would you accept it in main
> tree, am I correct?

I can't speak for AJ, who is the only person who can commit to the wine
upstream git tree, but I'd say there is a good chance of that.

> What is the point of having:
> WINE->PULSE->ALSA
> instead of
> WINE->ALSA->PULSE->ALSA
> ?

I counter with the same logic:
What's the point of having WINE->PULSE->ALSA instead of WINE->ALSA? Remove
pulse from the equation (and use dmix where required) and you have a better
working solution.

Of course, pulse is cross-platform, so works on Solaris, *BSD, etc., where ALSA
is not available, but OSS is. So you could then have WINE->OSS4 instead of
WINE->PULSE->OSS.

> It's pretty clear to me, one less redirection and functions call etc etc...
> Again, clearly WINE->ALSA could be better, but as seen as PULSE is basically
> the de-facto standard (and now -gasp- works) why not support it?

No, pulse is not a de-facto standard. It's not installed by default by the
majority of distros. ALSA is the de-facto standard for sound in Linux; OSS is
still available in the kernel tree, as well as by ALSA emulation, although the
best OSS-based solution would be to compile OSS4 which is not in the kernel due
to license disparity.

> What about OpenAL? would it be like
> WINE->OpenAL->PULSE->ALSA
> or something else?

> Ps. Just to clarify, I have been using wine in the past 3+ years to play WoW.
> When in Ubuntu 8.10 (or 8.04 I don't remember exactly), pulseaudio came in, I
> was losing 30% FPS because bad optimization so I wasn't exactly a fan of it.
> But now, it seems to work, and because of that I guess it's better to support
> it straight in wine.

No, that's not a good reason. Your performance has most likely improved due to
improvements in winealsa to make it work better with pulse. For more reliable
results, pulseaudio can be removed completely and safely, even on Ubuntu.

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