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:
Wim Taymans 2019-02-25 20:19:33 +01:00
parent 245a0d5634
commit aab2b5594f
8 changed files with 89 additions and 60 deletions

View file

@ -86,7 +86,6 @@ static inline int spa_pending_queue_complete(struct spa_pending_queue *queue,
spa_list_for_each_safe(p, t, &queue->pending, link) {
if (p->seq == seq) {
p->res = res;
spa_pending_remove(p);
p->func(p, result);
}
}