mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04: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
|
|
@ -32,6 +32,8 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define SM_TYPE_MEDIA_SESSION PW_TYPE_INFO_OBJECT_BASE "SessionManager"
|
||||
|
||||
struct sm_media_session;
|
||||
|
||||
struct sm_object_events {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue