Changeset 2487:10020ba41793 in roaraudio for roard/roard.c
- Timestamp:
- 08/24/09 00:16:38 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/roard.c
r2486 r2487 931 931 932 932 } else if ( strcmp(k, "--midi-no-console") == 0 ) { 933 #ifndef ROAR_WITHOUT_DCOMP_CB 933 934 midi_config.init_cb = 0; 935 #else 936 // no warning here as this is the disable option 937 #endif 934 938 } else if ( strcmp(k, "--midi-console-enable") == 0 ) { 939 #ifndef ROAR_WITHOUT_DCOMP_CB 935 940 midi_config.init_cb = 1; 941 #else 942 ROAR_ERR("main(*): No support for MIDI subsystem part CB compiled in"); 943 #endif 936 944 } else if ( strcmp(k, "--midi-console") == 0 ) { 945 #ifndef ROAR_WITHOUT_DCOMP_CB 937 946 midi_config.console_dev = argv[++i]; 938 947 midi_config.init_cb = 1; 948 #else 949 ROAR_ERR("main(*): No support for MIDI subsystem part CB compiled in"); 950 #endif 939 951 940 952 } else if ( strcmp(k, "--ssynth-enable") == 0 ) { … … 1337 1349 clients_free(); 1338 1350 ssynth_free(); 1351 #ifndef ROAR_WITHOUT_DCOMP_CB 1339 1352 midi_cb_stop(); // stop console beep 1353 #endif 1340 1354 midi_free(); 1341 1355 light_free();
Note: See TracChangeset
for help on using the changeset viewer.