Skip to content

Instantly share code, notes, and snippets.

@groupsky
Created July 22, 2014 13:21
Show Gist options
  • Save groupsky/1b350126fba16868febd to your computer and use it in GitHub Desktop.
Save groupsky/1b350126fba16868febd to your computer and use it in GitHub Desktop.
Configure PulseAudio to discover and use remote servers
#!/bin/bash
sudo apt-get install pulseaudio-module-zeroconf
pacmd load-module module-native-protocol-tcp
pacmd load-module module-zeroconf-discover
sudo service avahi-daemon restart
echo "Select one of the available sinks to stream your audio"
echo "pacmd set-default-sink <index|name>"
echo
pacmd list-sinks | grep index -A 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment