mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
factory: add events
Add events to the factory and use the destroy event to clean up.
This commit is contained in:
parent
52e1dad93e
commit
157a8b6ddf
4 changed files with 80 additions and 6 deletions
|
|
@ -381,6 +381,8 @@ struct pw_factory {
|
|||
struct pw_factory_info info; /**< introspectable factory info */
|
||||
struct pw_properties *properties; /**< properties of the factory */
|
||||
|
||||
struct spa_hook_list listener_list; /**< event listeners */
|
||||
|
||||
const struct pw_factory_implementation *implementation;
|
||||
void *implementation_data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue