timidity/timidity.c
changeset 604 c932750a78ce
parent 603 72a476dc43ea
child 700 a9867904addc
equal deleted inserted replaced
603:72a476dc43ea 604:c932750a78ce
   284 {
   284 {
   285   const char *env = getenv("TIMIDITY_CFG");
   285   const char *env = getenv("TIMIDITY_CFG");
   286   if (!env || read_config_file(env)<0) {
   286   if (!env || read_config_file(env)<0) {
   287     if (read_config_file(CONFIG_FILE)<0) {
   287     if (read_config_file(CONFIG_FILE)<0) {
   288       if (read_config_file(CONFIG_FILE_ETC)<0) {
   288       if (read_config_file(CONFIG_FILE_ETC)<0) {
   289         return(-1);
   289         if (read_config_file(CONFIG_FILE_ETC_TIMIDITY_FREEPATS)<0) {
       
   290           return(-1);
       
   291         }
   290       }
   292       }
   291     }
   293     }
   292   }
   294   }
   293 
   295 
   294   if (channels < 1 || channels == 3 || channels == 5 || channels > 6) return(-1);
   296   if (channels < 1 || channels == 3 || channels == 5 || channels > 6) return(-1);