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.h | |
parent | midi is back from threded to async io (diff) |
got rid of threads entirely
Diffstat (limited to 'apps/midi.h')
-rw-r--r-- | apps/midi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/midi.h b/apps/midi.h index f2aa119..38b1a7c 100644 --- a/apps/midi.h +++ b/apps/midi.h @@ -31,8 +31,8 @@ typedef struct { } midi_t; int midi_init(midi_t* m, const char* device); -int midi_get_poll_desc_count(midi_t* m); -int midi_get_poll_desc(midi_t* m, struct pollfd *pfds, int npfds); +int midi_get_poll_fd_count(midi_t* m); +int midi_get_poll_fds(midi_t* m, struct pollfd *pfds, int npfds); int midi_handle_revents(midi_t* m, struct pollfd *pfds, int npfds); #endif |