loop: return number of dispatched fds and update docs

This commit is contained in:
Wim Taymans 2018-06-01 11:16:53 +02:00
parent 6f5a2701f3
commit 1bfb1d9228
2 changed files with 31 additions and 4 deletions

View file

@ -364,7 +364,7 @@ static int loop_iterate(struct spa_loop_control *ctrl, int timeout)
}
process_destroy(impl);
return 0;
return nfds;
}
static void source_io_func(struct spa_source *source)