Howto explaining how I configured XBMC to switch PulseAudio output devices.

Link