aboutsummaryrefslogtreecommitdiffhomepage
path: root/midimonster.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-03-19 00:36:23 +0100
committercbdev <cb@cbcdn.com>2019-03-19 00:36:23 +0100
commit0928bc2c59a38c411a35c49d83fd468e5e0dc43c (patch)
treeb820f280518d452c2c67ad0e028d507be626f39b /midimonster.h
parent28000d6e09d5372ada278bc8e8d9960c5f15e678 (diff)
downloadmidimonster-0928bc2c59a38c411a35c49d83fd468e5e0dc43c.tar.gz
midimonster-0928bc2c59a38c411a35c49d83fd468e5e0dc43c.tar.bz2
midimonster-0928bc2c59a38c411a35c49d83fd468e5e0dc43c.zip
Documentation update
Diffstat (limited to 'midimonster.h')
-rw-r--r--midimonster.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/midimonster.h b/midimonster.h
index cffbf67..572b5fb 100644
--- a/midimonster.h
+++ b/midimonster.h
@@ -177,12 +177,13 @@ instance* mm_instance_find(char* backend, uint64_t ident);
channel* mm_channel(instance* i, uint64_t ident, uint8_t create);
//TODO channel* mm_channel_find()
/*
- * Register a file descriptor to be selected on. The backend
- * will be notified via the mmbackend_process_fd call.
+ * Register (manage = 1) or unregister (manage = 0) a file descriptor
+ * to be selected on. The backend will be notified when the descriptor
+ * becomes ready to read via its registered mmbackend_process_fd call.
*/
int mm_manage_fd(int fd, char* backend, int manage, void* impl);
/*
- * Notifies the core of a channel event. Used by backends to
+ * Notifies the core of a channel event. Called by backends to
* inject events gathered from their backing implementation.
*/
int mm_channel_event(channel* c, channel_value v);