Changeset 2500:5e481907a8c0 in roaraudio for roard/roard.c
- Timestamp:
- 08/24/09 02:55:13 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/roard.c
r2494 r2500 101 101 ); 102 102 103 #ifndef ROAR_WITHOUT_DCOMP_MIDI 103 104 printf("\nMIDI Options:\n\n"); 104 105 printf(" --midi-no-console - Disable console based MIDI synth\n" … … 110 111 #endif 111 112 ); 113 #endif 112 114 113 115 #ifndef ROAR_WITHOUT_DCOMP_LIGHT … … 716 718 } 717 719 720 #ifndef ROAR_WITHOUT_DCOMP_MIDI 718 721 if ( midi_init_config() == -1 ) { 719 722 ROAR_ERR("Can not init MIDI config!"); 720 723 return 1; 721 724 } 725 #endif 722 726 723 727 #ifndef ROAR_WITHOUT_DCOMP_SSYNTH … … 1116 1120 ROAR_DBG("Server config: rate=%i, bits=%i, chans=%i", sa.rate, sa.bits, sa.channels); 1117 1121 1122 #ifndef ROAR_WITHOUT_DCOMP_MIDI 1118 1123 if ( midi_init() == -1 ) { 1119 1124 ROAR_ERR("Can not initialize MIDI subsystem"); 1120 1125 } 1126 #endif 1121 1127 1122 1128 #ifndef ROAR_WITHOUT_DCOMP_SSYNTH … … 1389 1395 midi_cb_stop(); // stop console beep 1390 1396 #endif 1397 #ifndef ROAR_WITHOUT_DCOMP_MIDI 1391 1398 midi_free(); 1399 #endif 1392 1400 #ifndef ROAR_WITHOUT_DCOMP_LIGHT 1393 1401 light_free();
Note: See TracChangeset
for help on using the changeset viewer.