Implement module-always-source
authorSebastian Dröge <sebastian@centricular.com>
Thu, 29 Jun 2017 21:57:36 +0000 (00:57 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 5 Sep 2017 10:46:27 +0000 (13:46 +0300)
commitb4d2443249c2ab31f58ed97a968db41c1fe61b49
tree13e541ff98f938e3b773c03853fcaa1ccd1fade1
parentc7fe78c9f73ded2c3428666722ec9c1af4b82812
Implement module-always-source

This is basically a copy of module-always-sink but doing the same for
sources. Whenever no source is available, a module-null-source is loaded
and whenever a new source is available again, module-null-source is
unloaded.

By this, anything using a source will automatically be switched to the
null source when the actual source disappears, and back to the actual
source if it appears again.
po/POTFILES.in
src/Makefile.am
src/modules/module-always-source.c [new file with mode: 0644]