frantisekz / rpms / wine

Forked from rpms/wine 4 years ago
Clone
2c5e26f
Wine and Pulseaudio Support
2c5e26f
---------------------------
99d3902
Currently wine does not have native support for pulseaudio. However different
99d3902
ways exist to make wine sound work alongside pulseaudio. Different sound
99d3902
outputs can be selected via `winecfg` or in the registry of wine.
2c5e26f
99d3902
99d3902
ALSA
99d3902
----
99d3902
To achieve sound output via the wine alsa driver you need to add
99d3902
a pulseaudio alsa device to the alsa configuration and activate it in wine. See
99d3902
http://www.pulseaudio.org/wiki/PerfectSetup#ALSAApplications on how to do this.
99d3902
99d3902
99d3902
Esound
99d3902
------
99d3902
If the pulseaudio-esound-compat package is installed selecting the EsounD driver
99d3902
in wine should enable sound via pulseaudio.
99d3902
99d3902
OSS
99d3902
---
99d3902
To use the oss driver of wine copy the following script to ~/bin/wine and make
99d3902
sure that ~/bin is in your path with a higher priority then /usr/bin. The script
99d3902
will call the pulseaudio dsp wrapper padsp.
99d3902
99d3902
#!/bin/sh
99d3902
if [ -x /usr/lib*/alsa-lib/libasound_module_pcm_pulse.so ] && [ -x "/usr/bin/padsp" ] ; then
99d3902
    echo "Running padsp as pulseaudio wrapper for wine"
99d3902
    exec padsp -n Wine -- /usr/bin/wine "$@"
99d3902
else
99d3902
    exec /usr/bin/wine "$@"
99d3902
fi
99d3902
99d3902
For more information on a good pulseaudio setup see:
99d3902
http://www.pulseaudio.org/wiki/PerfectSetup
2c5e26f
2c5e26f
If you think you have found a bug related to this take a look at the bug
2c5e26f
reporting procedure at http://fedoraproject.org/wiki/AndreasBierfert/Wine.