mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
finish modernizations in pulse/, s/assert/pa_assert/g
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1805 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
038e560152
commit
27f13b3853
5 changed files with 151 additions and 133 deletions
|
|
@ -677,7 +677,8 @@ static int dispatch_pollfds(pa_mainloop *m) {
|
|||
if (e->dead || !e->pollfd || !e->pollfd->revents)
|
||||
continue;
|
||||
|
||||
pa_assert(e->pollfd->fd == e->fd && e->callback);
|
||||
pa_assert(e->pollfd->fd == e->fd);
|
||||
pa_assert(e->callback);
|
||||
e->callback(&m->api, e, e->fd, map_flags_from_libc(e->pollfd->revents), e->userdata);
|
||||
e->pollfd->revents = 0;
|
||||
r++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue