#!/usr/bin/pulseaudio -nF # IMPORTANT: change "n770" to the hostname/IP address of your N770! load-module module-esound-sink sink_name=esdoutput server=n770:5678 rate=22050 # use local soundcard for input load-module module-alsa-source source_name=alsainput device=hw:0 set-default-sink esdoutput set-default-source alsainput # and now, the usual stuff, based on Ubuntu gutsy /etc/pulse/default.pa... # Various ways to deliver sound to this server load-module module-esound-protocol-unix load-module module-native-protocol-unix # Automatically restore the volume of playback streams load-module module-volume-restore # Automatically move streams to the default sink if the sink they are # connected to dies, similar for sources load-module module-rescue-streams .nofail # Publish connection data in the X11 root window load-module module-x11-publish