mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: make node callbacks fast
This commit is contained in:
parent
efea7ad060
commit
727775201f
1 changed files with 2 additions and 2 deletions
|
|
@ -117,8 +117,8 @@ static inline int spa_node_port_enum_params_sync(struct spa_node *node,
|
|||
|
||||
#define spa_node_call(callbacks,method,version,...) \
|
||||
({ \
|
||||
int _res = -ENOTSUP; \
|
||||
spa_callbacks_call_res(callbacks, struct spa_node_callbacks, \
|
||||
int _res; \
|
||||
spa_callbacks_call_fast_res(callbacks, struct spa_node_callbacks, \
|
||||
_res, method, version, ##__VA_ARGS__); \
|
||||
_res; \
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue