Changeset 2451:e6aedd121ada in roaraudio
- Timestamp:
- 08/21/09 04:45:38 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/roard.c
r2444 r2451 103 103 " --midi-console-enable - Enables the console based MIDI synth\n" 104 104 " --midi-console DEV - Set device for MIDI console\n" 105 " --ssynth-enable - Enable simple software synth\n" 106 " --ssynth-disable - Disable simple software synth\n" 105 107 ); 106 108 … … 698 700 } 699 701 702 if ( ssynth_init_config() == -1 ) { 703 ROAR_ERR("Can not init ssynth config!"); 704 return 1; 705 } 706 700 707 #ifdef ROAR_SUPPORT_LISTEN 701 708 #ifdef ROAR_HAVE_GETUID … … 897 904 midi_config.init_cb = 1; 898 905 906 } else if ( strcmp(k, "--ssynth-enable") == 0 ) { 907 ssynth_conf.enable = 1; 908 } else if ( strcmp(k, "--ssynth-disable") == 0 ) { 909 ssynth_conf.enable = 0; 910 899 911 } else if ( strcmp(k, "-p") == 0 || strcmp(k, "--port") == 0 ) { 900 912 // This is only usefull in INET not UNIX mode. … … 1027 1039 if ( midi_init() == -1 ) { 1028 1040 ROAR_ERR("Can not initialize MIDI subsystem"); 1041 } 1042 1043 if ( ssynth_init() == -1 ) { 1044 ROAR_ERR("Can not initialize ssynth subsystem"); 1029 1045 } 1030 1046 … … 1282 1298 streams_free(); 1283 1299 clients_free(); 1300 ssynth_free(); 1284 1301 midi_cb_stop(); // stop console beep 1285 1302 midi_free();
Note: See TracChangeset
for help on using the changeset viewer.