[Bug 10495] Wine should support PulseAudio

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 8 18:56:51 CST 2011


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

--- Comment #295 from Raymond <superquad.vortex2 at gmail.com> 2011-01-08 18:56:46 CST ---
(In reply to comment #291)
> 
> Killing Pulse to allow Wine to have direct Alsa access is simply not acceptable
> either; it is beyond what is appropriate to expect from the average end-user,
> and it also cuts off the ability to control volume via keyboard or laptop
> built-in controls while in a full-screen Wine game.

My suggestion is not killing pulse, just redirect all sound to PA and let PA to
send the audio to null sink or set snd-dummy as default sink so that wine can
have exclusive excess 

if those average end-user can use script using "amixer" which is equvialent to
"amixer -D default" or "amixer -D pulse" to control volume via keyboard, he
should also able to to rewrite the script to use "amixer -c0" to control volume 

The lap-top built-in controls (button or volume knob) still use alsa api 

it is rather a bug that  PA cannot redirect all sound to the default sink

http://0pointer.de/blog/projects/pulse-glitch-free.html

"The PulseAudio sound server has been rewritten to use timer-based audio
scheduling instead of the traditional interrupt-driven approach."

The objective is lower the power consumption by reducing the number of wakeup
for those laptop, netbook for a longer battery usable time without recharging.

"We minimize the overall number of interrupts, down to what the latency
requirements of the connected clients allow us. i.e. we save power, don't show
up in powertop anymore for normal music playback."

"We maximize drop-out safetyy, because we buffer up to 2s in the usual cases" 

this is why it cannot support using those softsynth  with those midi input
device to play realtime music and playing interactive game

"We become much less dependant on what the sound hardware provides us with. We
can configure wakeup times that are independant from the fragment settings that
the hardware actually supports."

"We can provide almost any latency a client might request, dynamically without
reconfiguration, without discontinuities in audio."


you will need PA to provide an option to tune the parameter from low power
consumption mode to gamer mode for desktop to play those interactive game,
otherwise the average end-users are still unable to tune the parameters in
deamon.conf in order to play any application which require low latency

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