ladspa-sink: Suspend virtual sink when master is suspended
authorGeorg Chini <georg@chini.tk>
Tue, 12 Feb 2019 19:38:09 +0000 (20:38 +0100)
committerArun Raghavan <arun@arunraghavan.net>
Mon, 25 Mar 2019 05:16:15 +0000 (05:16 +0000)
commitd537e1a8ee452c813fb64d491b1a7db4dc061a19
tree1ae8d41add897b96c0807d9457079e6532514d7b
parentacb02d9e88ff341045ad00eb9d8fbccfb5f302ae
ladspa-sink: Suspend virtual sink when master is suspended

Currently, the ladspa-sink is not suspended when the master sink is suspended.

With this patch, the ladspa-sink will be suspended with suspend cause
PA_SUSPEND_UNAVAILABLE when the master sink is suspended for other reasons
than PA_SUSPEND_IDLE. This fixes issue #15.
src/modules/module-ladspa-sink.c