Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
wpwrak authored and Sebastien Bourdeauducq committed Nov 7, 2011
1 parent fedfe72 commit 767197b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input.c
Expand Up @@ -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;
Expand Down

0 comments on commit 767197b

Please sign in to comment.