- Instead esound on the Mac. I used MacPorts:
sudo port install esound
. - Configure esound to allow any client:
sudo vi /opt/local/etc/esd.conf
and change thedefault_options
line to read:default_options=-tcp -public -promiscuous -port 5678
- Start esd:
esd &
. - Back on the Linux box, tell PulseAudio about the new network device:
pactl load-module module-esound-sink sink_name=projectar server=projectar.local:5678
(You can pick your own sink_name, of course, and also the server; I'm using zeroconf.) - Tell PulseAudio to use the network device. I think this means running
padevchooser
and clicking through the obvious menus to set the "sink", but it also seems that program may be deprecated in favor ofpavucontrol
, which also involves clicking through the obvious menus to set the same setting. Or you can do it from the command line withpacmd
andset-default-sink
.
-ao pulse
.The remaining bit I don't understand is that it seems to remember the output device for different applications. What I'd prefer is a global switch: local or network. I haven't figured out quite where this sort of info lives, though.