pulse-server: index flags are only used for modules

one flag for the internal extension modules, another flag for the
modules we load in pulse server that don't really have a matching
pipewire module.
This commit is contained in:
Wim Taymans 2022-01-17 10:28:09 +01:00
parent 6a2aea8e0a
commit 955e4287ab
4 changed files with 9 additions and 9 deletions

View file

@ -30,9 +30,9 @@
#include "extensions/registry.h"
static const struct extension extensions[] = {
{ "module-stream-restore", 0 | EXTENSION_FLAG, do_extension_stream_restore, },
{ "module-device-restore", 1 | EXTENSION_FLAG, do_extension_device_restore, },
{ "module-device-manager", 2 | EXTENSION_FLAG, do_extension_device_manager, },
{ "module-stream-restore", 0 | MODULE_EXTENSION_FLAG, do_extension_stream_restore, },
{ "module-device-restore", 1 | MODULE_EXTENSION_FLAG, do_extension_device_restore, },
{ "module-device-manager", 2 | MODULE_EXTENSION_FLAG, do_extension_device_manager, },
};
const struct extension *extension_find(uint32_t idx, const char *name)