diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-10-10 07:56:56 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-10-10 07:56:56 +0200 |
commit | 57fc2e284684aab5b6bb3b56d0035fda4b1e63b3 (patch) | |
tree | 7b42397793ca55ccbcac47ee7188d5d9a6ccd396 /apps/midi.c | |
parent | midi is back from threded to async io (diff) |
got rid of threads entirely
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); } |