Changed descriptors_count

This commit is contained in:
Abramo Bagnara 2001-02-18 18:32:30 +00:00
parent 0c7637393f
commit 191d03501e
12 changed files with 22 additions and 33 deletions

View file

@ -84,12 +84,10 @@ int _snd_timer_poll_descriptor(snd_timer_t *handle)
return tmr->fd;
}
int snd_timer_poll_descriptors_count(snd_timer_t *timer, unsigned int *count)
int snd_timer_poll_descriptors_count(snd_timer_t *timer)
{
assert(timer);
assert(count);
*count = 1;
return 0;
return 1;
}
int snd_timer_poll_descriptors(snd_timer_t *timer, struct pollfd *pfds, unsigned int space)