diff options
Diffstat (limited to 'apps/midi.c')
-rw-r--r-- | apps/midi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/midi.c b/apps/midi.c index 261e12f..821f353 100644 --- a/apps/midi.c +++ b/apps/midi.c @@ -43,12 +43,12 @@ int midi_init(midi_t* m, const char* device) return 0; } -int midi_get_poll_desc_count(midi_t* m) +int midi_get_poll_fd_count(midi_t* m) { return snd_rawmidi_poll_descriptors_count(m->input_); } -int midi_get_poll_desc(midi_t* m, struct pollfd *pfds, int npfds) +int midi_get_poll_fds(midi_t* m, struct pollfd *pfds, int npfds) { return snd_rawmidi_poll_descriptors(m->input_, pfds, npfds); } |