Created
April 11, 2009 01:06
-
-
Save qwzybug/93393 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
void handle_note_off(void * channel, void * note, void * velocity); | |
class RadMidi { | |
public: | |
void handleNoteOff(unsigned int channel, unsigned int note, unsigned int velocity) | |
{ | |
handle_note_off(&channel, ¬e, &velocity); | |
} | |
}; | |
int main() { | |
RadMidi foo = RadMidi(); | |
foo.handleNoteOff(1, 2, 3); | |
return 0; | |
} | |
void handle_note_off(void * channel, void * note, void * velocity) { | |
std::cout << "Test!"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment