mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
context: add object store
Add method to set and get typed objects from the context. This can be used to pass around context objects between modules without having to register them.
This commit is contained in:
parent
6cf6af6620
commit
1bca1b15ea
5 changed files with 62 additions and 0 deletions
|
|
@ -258,6 +258,8 @@ struct pw_context {
|
|||
uint32_t n_support; /**< number of support items */
|
||||
struct pw_array factory_lib; /**< mapping of factory_name regexp to library */
|
||||
|
||||
struct pw_array objects; /**< objects */
|
||||
|
||||
struct pw_impl_client *current_client; /**< client currently executing code in mainloop */
|
||||
|
||||
long sc_pagesize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue