Add init framework and automatic start-stop

This commit is contained in:
hirsch 2016-07-09 14:28:13 -04:00
parent f84fceb767
commit ae5b425bf2
7 changed files with 208 additions and 14 deletions

View file

@ -172,9 +172,8 @@ int main( int argc, const char **argv ) {
// Don't want sysex, timing, active sense
input_handler->ignoreTypes( true, true, true );
std::cout << "\nTranslating MIDI input - press <enter> to quit.\n";
char input;
std::cin.get(input);
// Block and wait for signal
pause();
delete input_handler;
return 0;