void-packages/srcpkgs/pulseaudio/INSTALL

36 lines
614 B
Plaintext

#
# This script creates required dirs for pulseaudio.
#
case "${ACTION}" in
post)
[ ! -d var/run/pulse ] && mkdir -p var/run/pulse
[ ! -d var/lib/pulse ] && mkdir -p var/lib/pulse
cat <<_EOF
=====================================================================
To make ALSA use PulseAudio globally in your system you'd have to
create /etc/asound.conf with the following contents:
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
# Explicit PulseAudio device
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
=====================================================================a
_EOF
;;
esac