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:
$ 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.
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.
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.
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).