jack: fix PW_VERSION_* constant used with pw_*_events structs
PW_VERSION_NODE is 3 while PW_VERSION_NODE_EVENTS is 0, I am unsure if it could have caused issues. Same thing with PW_VERSION_PORT & PW_VERSION_PORT_EVENTS. I have not seen code checking this version number. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
This commit is contained in:
parent
cf46c4f5af
commit
0e44f5ef97
|
@ -3218,7 +3218,7 @@ static void node_info(void *data, const struct pw_node_info *info)
|
|||
}
|
||||
|
||||
static const struct pw_node_events node_events = {
|
||||
PW_VERSION_NODE,
|
||||
PW_VERSION_NODE_EVENTS,
|
||||
.info = node_info,
|
||||
};
|
||||
|
||||
|
@ -3243,7 +3243,7 @@ static void port_param(void *data, int seq,
|
|||
}
|
||||
|
||||
static const struct pw_port_events port_events = {
|
||||
PW_VERSION_PORT,
|
||||
PW_VERSION_PORT_EVENTS,
|
||||
.param = port_param,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue