mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Rework support
Load the mapper from the support plugin Move the support setup in pw_init
This commit is contained in:
parent
b9c719ac7e
commit
f55f1739e1
18 changed files with 192 additions and 278 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include <spa/plugin.h>
|
||||
#include <spa/node.h>
|
||||
|
||||
extern const struct spa_handle_factory spa_logger_factory;
|
||||
extern const struct spa_handle_factory spa_type_map_factory;
|
||||
|
||||
int
|
||||
|
|
@ -31,6 +32,9 @@ spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t inde
|
|||
case 0:
|
||||
*factory = &spa_type_map_factory;
|
||||
break;
|
||||
case 1:
|
||||
*factory = &spa_logger_factory;
|
||||
break;
|
||||
default:
|
||||
return SPA_RESULT_ENUM_END;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue