summaryrefslogtreecommitdiff
path: root/apps/midi.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-10-10 07:56:56 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-10-10 07:56:56 +0200
commit57fc2e284684aab5b6bb3b56d0035fda4b1e63b3 (patch)
tree7b42397793ca55ccbcac47ee7188d5d9a6ccd396 /apps/midi.c
parentmidi is back from threded to async io (diff)
got rid of threads entirely
Diffstat (limited to 'apps/midi.c')
-rw-r--r--apps/midi.c4
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);
}