mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
core: add method to add and find spa factory libraries
Make a method to add a mapping between a factory name regex and the library it is in. Add a method to find the library for a given factory name.
This commit is contained in:
parent
80488dba4a
commit
b9d9042695
3 changed files with 60 additions and 0 deletions
|
|
@ -235,6 +235,7 @@ struct pw_core {
|
|||
|
||||
struct spa_support support[16]; /**< support for spa plugins */
|
||||
uint32_t n_support; /**< number of support items */
|
||||
struct pw_array factory_lib; /**< mapping of factory_name regexp to library */
|
||||
|
||||
struct pw_client *current_client; /**< client currently executing code in mainloop */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue