[Bug 10495] Wine should support PulseAudio

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 27 11:00:28 CDT 2008


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





--- Comment #20 from Martin Jürgens <martin at gamesplace.info>  2008-03-27 11:00:27 ---
I dunno if this has been posted before but a PulseAudio developer writes this
in his blog:


:::::::::::::

I am not really asking anyone to port their apps to the native PulseAudio API 
right now. While I do think the API is quite powerful and not redundant, I also 
acknowledge that it is very difficult to use properly (and very easy to
misuse), 
(mostly) due to its fully asynchronous nature. The mysterious libsydney project
is supposed to fix this and a lot more. libsydney is mostly the Dukem Nukem 
Forever of audio APIs right now, but in contrast to DNF I didn't really
announce it publicly yet, so it doesn't really count. ;-)

But, most importantly: please stop misusing the existing APIs. I am doing my
best to allow all current APIs to run without hassles on top of PA, but due to
the sometimes blatant misues, or even brutal violations of those APIs it is
very hard to get that working for all applications (yes, that means you, Adobe,
and you, Skype). Don't expect that mmap is available on all audio devices --
it's not, and especially not on PA. Don't use /proc/asound/pcm as an API for
enumerating audio devices. It's totally unsuitable for that. Don't hard code
device strings. Use default as device string. Don't make assumptions that are
not and cannot be true for non-hardware devices. Don't fiddle around with
period settings unless you fully grok them and know what you are doing. In
short: be a better citizen, write code you don't need to be ashamed of. ALSA
has its limitations and my compatibility code certainly as well, but this is
not an excuse for working around them by writing code that makes little
children cry. If you have a good ALSA backend for your program than this will
not only fix your issues with PA, but also with Bluetooth, you will have less
code to maintain and also code that is much easier to maintain.

Or even shorter: Fix. Your. Broken. ALSA. Client. Code. Thank you.

:::::::::::::

http://0pointer.de/blog/projects/lca2008.html


Maybe that's the current way to go for Wine; see that it works together with PA
when using the ALSA backend.


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