Program won't start up without a config
This commit is contained in:
@@ -22,7 +22,10 @@ int main(int argc, char *argv[]) {
|
||||
int c;
|
||||
|
||||
//initialize libconfig
|
||||
cfginit();
|
||||
if (!cfginit()) {
|
||||
printf("Failed to initialize csoundbox.cfg. Does it exist?\n");
|
||||
return 0;
|
||||
}
|
||||
ao_initialize();
|
||||
|
||||
while ( (c = getopt_long(argc, argv, short_options, long_options, NULL)) != -1 ) {
|
||||
|
Reference in New Issue
Block a user