From: Mikel Astiz <[email protected]> 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 _______________________________________________ pulseaudio-discuss mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
