mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
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:
parent
f5d47c079e
commit
01a83a1362
2 changed files with 41 additions and 22 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue