diff options
author | Nao Pross <naopross@thearcway.org> | 2018-03-13 09:54:23 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-03-13 09:54:23 +0100 |
commit | 70a53032a2ef5fc911846138faa2ec6731b45a2f (patch) | |
tree | 10587fc3f7a4c15c25048d5ee57f52d58e868741 /src/midi.c | |
parent | Move comments for printability (diff) | |
parent | Cleanup doc_office, disable DEBUG build (diff) | |
download | Xilofono-70a53032a2ef5fc911846138faa2ec6731b45a2f.tar.gz Xilofono-70a53032a2ef5fc911846138faa2ec6731b45a2f.zip |
Merge branch 'master' of https://git.thearcway.org/git/naopross/Xilofono
Diffstat (limited to 'src/midi.c')
-rw-r--r-- | src/midi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,7 +59,7 @@ int midi_set_channel(midi_message_t *pkt, unsigned channel) return 0; } -int midi_note_on(midi_message_t *pkt, unsigned channel, midi_note_t note, uint8_t velocity) +int midi_note_on(midi_message_t *pkt, unsigned channel, unsigned note, uint8_t velocity) { if (pkt == NULL) { return -1; @@ -84,7 +84,7 @@ int midi_note_on(midi_message_t *pkt, unsigned channel, midi_note_t note, uint8_ return 0; } -int midi_note_off(midi_message_t *pkt, unsigned channel, midi_note_t note, uint8_t velocity) +int midi_note_off(midi_message_t *pkt, unsigned channel, unsigned note, uint8_t velocity) { if (pkt == NULL) { return -1; |