I successfully configured PulseAudio server and client to send audio over network. It uses direct connection: http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#index1h2
I'd like to have a possibility to switch between client and server sound card i.e. temporarily disable network stream and go back to internal sound device.
Using module-tunnel-sink I could simply move sink-input to desired device but is not an option since it doesn't work well with Flash:
they lead me to believe that Flash is somehow sending the sound to PulseAudio in such a way that it creates a lot of network traffic (think lots of tiny packets, not bandwidth); this overwhelms the network "tunnel" PulseAudio
With direct connection I have to restart the application every time I want to switch the output.
Any idea how can I solve this?