Permalink
Browse files

input.c: an OSC-MIDI message contains a complete command - process ac…

…cordingly

Test with something like
oscsend m1 4444 /midi m 00b01223
  • Loading branch information...
1 parent d753464 commit bf1a502d904ff0e931b1bc95f29428aa4acbf919 @wpwrak wpwrak committed with sbourdeauducq Nov 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/input.c
View
@@ -430,7 +430,7 @@ void input_eventloop()
} else if(m.fd == btn_fd) {
n = handle_btn_event(&e[total], m.data);
} else if(m.fd == -1) {
- n = handle_midi_event(&e[total], m.data);
+ n = handle_midi_msg(&e[total], m.data);
} else if(m.fd == -2) {
/* injected OSC */
e[total].type = EVENT_TYPE_OSC;

0 comments on commit bf1a502

Please sign in to comment.