WINE does not load (pulseaudio) audio driver

Questions about Wine on Linux
Locked
belnac
Newbie
Newbie
Posts: 4
Joined: Sat Mar 09, 2013 1:10 pm

WINE does not load (pulseaudio) audio driver

Post by belnac »

I built WINE from source to take advantage of better D3D performance [0] and everything works great apart from the audio. winecfg states that there is no selected audio driver (set to none) but when I run my repo's (Xubuntu) packaged WINE version, it correctly uses the winepulse.drv driver.

I'm building WINE out of source in an x86 schroot environment as follows:

Code: Select all

$ schroot -c x86-saucy -u root
$ cd ~/src/wine-csmt-out
$ ../wine-csmt/configure --with-x --without-coreaudio --without-alsa
$ make -j8
I'm disabling coreaudio and alsa above because WINE doesn't detect pulseaudio and attempts to use ALSA instead, which results in very, very low quality and imperceptible sound (noise, I should say).

Made sure libpulse-dev is installed but still no joy.

What am I doing wrong?


[0] https://github.com/stefand/wine
belnac
Newbie
Newbie
Posts: 4
Joined: Sat Mar 09, 2013 1:10 pm

Re: WINE does not load (pulseaudio) audio driver

Post by belnac »

Please disregard. I came across the "note to pulseaudio" thread after I'd submitted my post and now understand pulseaudio isn't actually supported by WINE.

Regardless, I compiled WINE once again but this time without any configuration options and... audio via ALSA finally works. The low quality, imperceptible noise isn't there anymore -- must've been pulseaudio playing up.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: WINE does not load (pulseaudio) audio driver

Post by dimesio »

belnac wrote: Regardless, I compiled WINE once again but this time without any configuration options and... audio via ALSA finally works. The low quality, imperceptible noise isn't there anymore -- must've been pulseaudio playing up.
It wasn't PulseAudio, it was the fact that previously you compiled Wine without ALSA support, so you didn't have any sound driver at all.
belnac
Newbie
Newbie
Posts: 4
Joined: Sat Mar 09, 2013 1:10 pm

Re: WINE does not load (pulseaudio) audio driver

Post by belnac »

As I said in my first post, I'd tried to compile with ALSA support (passing only --with-x) but the sound was of very, very low quality; in other words, WINE played sound but it was just noise.

It now works so, as I said, it must've been pulseaudio playing up (I restarted it before the second compilation).
Locked