Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

Have you looked a pavucontrol? It's a GUI for controlling pulseaudio streams (volume and sinks). I use it to switch between different soundcards. At the very least it might help you check whether you're using the right commands to switch the sink in pactl.

share|improve this answer
Yes I did, my configuration is correct. As I've said I can't switch sink because using direct connection entire stream is being forwarded to the server - nothing goes through the client's sinks. – Blask Poranka Sep 16 '13 at 19:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.