wine and pulse audio.Can they work together?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
stimpak
Level 3
Level 3
Posts: 72
Joined: Tue Apr 01, 2008 12:56 pm

wine and pulse audio.Can they work together?

Post by stimpak »

i've upgraded ubuntu from 7.10 to 8.04 and now the pulseaudio doesnt get along with wine.

from my limited knowledge wine doesnt sent the sound correctly at pulseaudio(?)

i've found out this link which explains a work around. But unfortunately i dont know if it actually stands.

opinions?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: wine and pulse audio.Can they work together?

Post by vitamin »

stimpak wrote:i've upgraded ubuntu from 7.10 to 8.04 and now the pulseaudio doesnt get along with wine.

from my limited knowledge wine doesnt sent the sound correctly at pulseaudio(?)

i've found out this link which explains a work around. But unfortunately i dont know if it actually stands.

opinions?
Remove/disable pulseaudio. Wine will not work with it, unless you talking about making some noise not sound. It's just another sound server that people keep migrating all their junk from previous to the next one.
stimpak
Level 3
Level 3
Posts: 72
Joined: Tue Apr 01, 2008 12:56 pm

Post by stimpak »

i know that i might start a flame war but, since pulseaudio comes bundled and as default for Hardy (ubuntu 8.04) there isnt at least a consideration for making a wine driver for it?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

stimpak wrote:i know that i might start a flame war but, since pulseaudio comes bundled and as default for Hardy (ubuntu 8.04) there isnt at least a consideration for making a wine driver for it?
Nope. Wine already has lots of drivers. You can choose which one you want. But pulseaudio is not one of them. You can file bug with ubuntu to un-bundle pusleaudio from it.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

wine and pulse audio.Can they work together?

Post by austin987 »

On Fri, May 16, 2008 at 2:51 PM, stimpak <[email protected]> wrote:
i know that i might start a flame war but, since pulseaudio comes bundled and as default for Hardy (ubuntu 8.04) there isnt at least a consideration for making a wine driver for it?





The topic's been brought up on wine-devel. The problem is that getting
a full sound driver is a lot of work. We don't want 20 half supported
sound drivers, but rather fully implemented ones. If someone were
willing to implement a FULL sound driver, then it could be discussed,
but not a small driver that just does forwarding.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Post by oiaohm »

Pulse took a short cut. They don't provide a pcm interface.

Wine was designed that pcm would always be there either threw dmix or threw the cards hardware mixer.

Now it is possible to get Pulse to work with wine by virtualising pcm but its laggy massively so.

Get onto Pulse to provide a working pcm layour thinking alsa design said we could always have it. Problem if we cannot have it we will need to put something like dmix inside wine that will still have lag to hell problems. We need far more volume controls that the default mixer ctl mixer can provide.

Same lack of hardware mixing emulation causes wine trouble when using oss threw pulse. One defect is causing us major problems. Because they read pcm as optional. Sorry its option for a sound card to provide it. But its not optional for all applications.
oisin
Level 1
Level 1
Posts: 7
Joined: Sat Mar 01, 2008 10:35 pm

Post by oisin »

pulseaudio has a tool pasuspender for apps that dont work with pulseaudio. It temporarily disables pulseaudio while the program runs.

Just run wine like this;

Code: Select all

 pasuspender wine <app>
Its just a workaround but it works. I've heard there is a pulseaudio driver in the works, whether or not it will ever be included is a different question. Personally I would love to see wine and pulseaudio work together.

Also if you have the JACK sound server running you can use this to connect wine and pulseaudio, though I have never tried this.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Post by oiaohm »

That is not without side effects oisin.
User avatar
Lauri Niskanen
Level 1
Level 1
Posts: 5
Joined: Sat May 17, 2008 11:26 am

SOLVED

Post by Lauri Niskanen »

I got wine and pulseaudio working together with this tutorial: http://blog.paulbetts.org/index.php/200 ... get-along/
Locked