From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx> I slightly extended Fr?d?ric's work by adding the initial state check, given that the sink or source might already be suspended by the time the module is loaded. >From original cover-letter (from Fr?d?ric): This is follow up to the previous patch, using Tanu's comment. http://lists.freedesktop.org/archives/pulseaudio-discuss/2012-May/013454.html So i've manager to suspend the loopback using the first 2 patches. After that I found that the A2DP source didn't suspend itself when the stream was suspended, so i added patch 3. Fr?d?ric Dalleau (2): loopback: Cork sink-input if source is suspended loopback: Cork source-output if sink is suspended src/modules/module-loopback.c | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) -- 1.7.7.6