mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
media-session: add API to load/store state
This commit is contained in:
parent
cc9c2caa90
commit
8a4dd83883
2 changed files with 123 additions and 2 deletions
|
|
@ -283,6 +283,11 @@ int sm_media_session_create_links(struct sm_media_session *sess,
|
|||
int sm_media_session_remove_links(struct sm_media_session *sess,
|
||||
const struct spa_dict *dict);
|
||||
|
||||
int sm_media_session_load_state(struct sm_media_session *sess,
|
||||
const char *name, struct pw_properties *props);
|
||||
int sm_media_session_save_state(struct sm_media_session *sess,
|
||||
const char *name, const struct pw_properties *props);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue