mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-19 08:57:08 -05:00
Changed descriptors_count
This commit is contained in:
parent
0c7637393f
commit
191d03501e
12 changed files with 22 additions and 33 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue