pulse-server: make some modules load-once

Add mechanism for allowing some modules to be loaded only once.

Mark always-sink, raop-discover, switch-on-connect, zeroconf-discover as
such.
This commit is contained in:
Pauli Virtanen 2022-02-13 17:48:37 +02:00
parent f5d47c079e
commit 01a83a1362
2 changed files with 41 additions and 22 deletions

View file

@ -37,6 +37,7 @@ struct pw_properties;
struct module_info {
const char *name;
unsigned int load_once:1;
struct module *(*create) (struct impl *impl, const char *args);
};