Changeset 2444:0f46be0063a6 in roaraudio


Ignore:
Timestamp:
08/21/09 04:15:56 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added --midi-console-enable and reenable console in case a dev is given

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r2413 r2444  
    101101 printf("\nMIDI Options:\n\n"); 
    102102 printf(" --midi-no-console     - Disable console based MIDI synth\n" 
     103        " --midi-console-enable - Enables the console based MIDI synth\n" 
    103104        " --midi-console DEV    - Set device for MIDI console\n" 
    104105       ); 
     
    890891  } else if ( strcmp(k, "--midi-no-console") == 0 ) { 
    891892   midi_config.init_cb = 0; 
     893  } else if ( strcmp(k, "--midi-console-enable") == 0 ) { 
     894   midi_config.init_cb = 1; 
    892895  } else if ( strcmp(k, "--midi-console") == 0 ) { 
    893896   midi_config.console_dev = argv[++i]; 
     897   midi_config.init_cb = 1; 
    894898 
    895899  } else if ( strcmp(k, "-p") == 0 || strcmp(k, "--port") == 0 ) { 
Note: See TracChangeset for help on using the changeset viewer.