Changeset 1924:4b8f87ffd0b0 in roaraudio for roard/roard.c
- Timestamp:
- 05/29/09 19:07:41 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/roard.c
r1923 r1924 79 79 80 80 printf("\nMIDI Options:\n\n"); 81 printf(" --midi-no-console - Disable console based MIDI synth\n" 82 " --midi-console DEV - Set device for MIDI console\n" 83 ); 81 84 82 85 printf("\nLight Control Options:\n\n"); … … 424 427 } 425 428 429 if ( midi_init_config() == -1 ) { 430 ROAR_ERR("Can not init MIDI config!"); 431 return 1; 432 } 426 433 427 434 #ifdef ROAR_SUPPORT_LISTEN … … 572 579 } else if ( strcmp(k, "--light-channels") == 0 ) { 573 580 light_channels = atoi(argv[++i]); 581 582 } else if ( strcmp(k, "--midi-no-console") == 0 ) { 583 midi_config.init_cb = 0; 584 } else if ( strcmp(k, "--midi-console") == 0 ) { 585 midi_config.console_dev = argv[++i]; 574 586 575 587 } else if ( strcmp(k, "-p") == 0 || strcmp(k, "--port") == 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.