Pulseaudio sound server configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuring sound server | |
# Tested on Ubuntu 11.10 | |
sudo apt-get install pulseaudio-module-zeroconf | |
# Change /etc/default/pulseaudio file on server to contain: | |
PULSEAUDIO_SYSTEM_START=1 | |
DISALLOW_MODULE_LOADING=1 | |
# Change /etc/pulse/system.pa to contain: | |
load-module module-esound-protocol-tcp | |
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.1.0/16 | |
load-module module-zeroconf-publish | |
# where 192.168.1.0/16 is allowed IP pool to connect | |
# Restart pulseaudio: | |
sudo /etc/init.d/pulseaudio restart | |
# Now you should be able to run from your local machine i.e. | |
PULSE_SERVER=192.168.1.101 mplayer some-movie.avi | |
# where 192.168.1.101 is IP of your sound server | |
# If something doesn't work, try restarting server ;-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tested on Ubuntu 13.10 | |
sudo apt-get install pulseaudio-module-zeroconf | |
# We will not use system wide configuration for pulseaudio. | |
# Change /etc/pulse/default.pa to contain: | |
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.1.0/16 | |
# Stop pulseaudio: | |
pulseaudio --kill | |
# You may check to be sure that in /etc/default/client.conf there is no autospawn=no directive | |
# Pulseaudio will autospawn on each sound usage | |
# If there are some permission problems you may add mpd user to pulse, pulse-access and audio groups | |
# Now you should be able to run from your local machine i.e. | |
PULSE_SERVER=192.168.1.101 mplayer some-movie.avi | |
# where 192.168.1.101 is IP of your sound server | |
# If something doesn't work, try restarting server ;-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment