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

@ -58,12 +58,10 @@ int _snd_rawmidi_poll_descriptor(snd_rawmidi_t *rmidi)
return rmidi->poll_fd;
}
int snd_rawmidi_poll_descriptors_count(snd_rawmidi_t *rmidi, unsigned int *count)
int snd_rawmidi_poll_descriptors_count(snd_rawmidi_t *rmidi)
{
assert(rmidi);
assert(count);
*count = 1;
return 0;
return 1;
}
int snd_rawmidi_poll_descriptors(snd_rawmidi_t *rmidi, struct pollfd *pfds, unsigned int space)