mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
names: add standard factory name definitions
Define a set of standard factory names and document what they contain. This makes it possible to change the implementation by mapping the factory-name to a different shared library.
This commit is contained in:
parent
4494f9c7c9
commit
6720ded529
40 changed files with 188 additions and 55 deletions
|
|
@ -34,6 +34,7 @@
|
|||
#include <spa/support/plugin.h>
|
||||
#include <spa/utils/ringbuffer.h>
|
||||
#include <spa/utils/type.h>
|
||||
#include <spa/utils/names.h>
|
||||
|
||||
#define NAME "logger"
|
||||
|
||||
|
|
@ -294,7 +295,7 @@ impl_enum_interface_info(const struct spa_handle_factory *factory,
|
|||
|
||||
const struct spa_handle_factory spa_support_logger_factory = {
|
||||
SPA_VERSION_HANDLE_FACTORY,
|
||||
.name = NAME,
|
||||
.name = SPA_NAME_SUPPORT_LOG,
|
||||
.info = NULL,
|
||||
.get_size = impl_get_size,
|
||||
.init = impl_init,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue