37c2dfb
Wine and Pulseaudio Support
37c2dfb
---------------------------
b9fd799
Currently wine does not have native support for pulseaudio. However, some
dc038b9
patches exist to make wine use a native pulseaudio backend (see [1])
dc038b9
These have been included into the fedora wine package. If you have problems
dc038b9
please do _not_ report them to the wine project.
dc038b9
dc038b9
Here are some useful configuration options taken from [1]:
dc038b9
dc038b9
HKCU\Software\Wine\Drivers:Audio
dc038b9
A string which contains a comma seperated list of audio backends for wine to
dc038b9
try, in order of preference. For example “pulse,alsa,esd”. Settable through
dc038b9
winecfg.
dc038b9
dc038b9
HKCU\Software\Wine\Pulse Driver:MonitorDevices
dc038b9
A string which contains Y or N. If Y, sink monitors will show up as input
dc038b9
devices. If N, only capture sources will be show up as input devices.
dc038b9
Default is Y.
dc038b9
dc038b9
HKCU\Software\Wine\DirectSound:HardwareAcceleration
dc038b9
A string. Also settable in winecfg. When set to “Emulation” WaveOut will be
dc038b9
used for directsound, which is more likely to work, but will have more latency.
dc038b9
When set to “Full” the directsound driver is tried for directsound support,
dc038b9
resulting in less latency, but possibley failure or bad sound.
dc038b9
dc038b9
[1] - http://art.ified.ca/?page_id=40
37c2dfb
b9fd799
Other ways to get wine working with pulseaudio are described below:
e09f4c9
e09f4c9
ALSA
e09f4c9
----
e09f4c9
To achieve sound output via the wine alsa driver you need to add
e09f4c9
a pulseaudio alsa device to the alsa configuration and activate it in wine. See
e09f4c9
http://www.pulseaudio.org/wiki/PerfectSetup#ALSAApplications on how to do this.
b9fd799
For this alsa-plugins-pulseaudio.i386 should be installed.
e09f4c9
e09f4c9
e09f4c9
Esound
e09f4c9
------
e09f4c9
If the pulseaudio-esound-compat package is installed selecting the EsounD driver
e09f4c9
in wine should enable sound via pulseaudio.
e09f4c9
e09f4c9
OSS
e09f4c9
---
e09f4c9
To use the oss driver of wine copy the following script to ~/bin/wine and make
e09f4c9
sure that ~/bin is in your path with a higher priority then /usr/bin. The script
e09f4c9
will call the pulseaudio dsp wrapper padsp.
e09f4c9
e09f4c9
#!/bin/sh
e09f4c9
if [ -x /usr/lib*/alsa-lib/libasound_module_pcm_pulse.so ] && [ -x "/usr/bin/padsp" ] ; then
e09f4c9
    echo "Running padsp as pulseaudio wrapper for wine"
e09f4c9
    exec padsp -n Wine -- /usr/bin/wine "$@"
e09f4c9
else
e09f4c9
    exec /usr/bin/wine "$@"
e09f4c9
fi
e09f4c9
e09f4c9
For more information on a good pulseaudio setup see:
e09f4c9
http://www.pulseaudio.org/wiki/PerfectSetup
37c2dfb
37c2dfb
If you think you have found a bug related to this take a look at the bug
37c2dfb
reporting procedure at http://fedoraproject.org/wiki/AndreasBierfert/Wine.