mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
utils: don't remove pending after first callback
Let the caller remove the pending result when finished. Use non _sync verions to enum_params in node/port/device. Set result.id in alsa and v4l2 correctly.
This commit is contained in:
parent
245a0d5634
commit
aab2b5594f
8 changed files with 89 additions and 60 deletions
|
|
@ -168,10 +168,10 @@ int pw_node_for_each_port(struct pw_node *node,
|
|||
void *data);
|
||||
|
||||
int pw_node_for_each_param(struct pw_node *node,
|
||||
uint32_t seq, uint32_t param_id,
|
||||
int seq, uint32_t param_id,
|
||||
uint32_t index, uint32_t max,
|
||||
const struct spa_pod *filter,
|
||||
int (*callback) (void *data, uint32_t seq,
|
||||
int (*callback) (void *data, int seq,
|
||||
uint32_t id, uint32_t index, uint32_t next,
|
||||
struct spa_pod *param),
|
||||
void *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue