mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
hook: handle port and factory implementation with hook
This way we can also handle the version number.
This commit is contained in:
parent
23d4ed62dd
commit
903cbeb7c1
5 changed files with 23 additions and 26 deletions
|
|
@ -497,8 +497,7 @@ struct pw_port {
|
|||
|
||||
struct spa_hook_list listener_list;
|
||||
|
||||
const struct pw_port_implementation *implementation;
|
||||
void *implementation_data;
|
||||
struct spa_hook impl;
|
||||
|
||||
struct spa_node *mix; /**< port buffer mix/split */
|
||||
#define PW_PORT_MIX_FLAG_MULTI (1<<0) /**< multi input or output */
|
||||
|
|
@ -701,8 +700,7 @@ struct pw_factory {
|
|||
|
||||
struct spa_hook_list listener_list; /**< event listeners */
|
||||
|
||||
const struct pw_factory_implementation *implementation;
|
||||
void *implementation_data;
|
||||
struct spa_hook impl;
|
||||
|
||||
void *user_data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue