[BACK]Return to aucat.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / aucat

Diff for /src/usr.bin/aucat/aucat.c between version 1.107 and 1.108

version 1.107, 2010/11/05 16:09:50 version 1.108, 2011/03/17 07:55:35
Line 57 
Line 57 
 #define PROG_AUCAT      "aucat"  #define PROG_AUCAT      "aucat"
 #define PROG_MIDICAT    "midicat"  #define PROG_MIDICAT    "midicat"
   
   /*
    * sample rate if no ``-r'' is used
    */
   #ifndef DEFAULT_RATE
   #define DEFAULT_RATE    44100
   #endif
   
 #ifdef DEBUG  #ifdef DEBUG
 int debug_level = 0;  int debug_level = 0;
 #endif  #endif
Line 450 
Line 457 
                 perror("malloc");                  perror("malloc");
                 exit(1);                  exit(1);
         }          }
         aparams_init(&cs->ipar, 0, 1, 44100);          aparams_init(&cs->ipar, 0, 1, DEFAULT_RATE);
         aparams_init(&cs->opar, 0, 1, 44100);          aparams_init(&cs->opar, 0, 1, DEFAULT_RATE);
         cs->mmc = 0;          cs->mmc = 0;
         cs->hdr = HDR_AUTO;          cs->hdr = HDR_AUTO;
         cs->xrun = XRUN_IGNORE;          cs->xrun = XRUN_IGNORE;
Line 467 
Line 474 
                 perror("malloc");                  perror("malloc");
                 exit(1);                  exit(1);
         }          }
         aparams_init(&cd->ipar, 0, 1, 44100);          aparams_init(&cd->ipar, 0, 1, DEFAULT_RATE);
         aparams_init(&cd->opar, 0, 1, 44100);          aparams_init(&cd->opar, 0, 1, DEFAULT_RATE);
         SLIST_INIT(&cd->ins);          SLIST_INIT(&cd->ins);
         SLIST_INIT(&cd->outs);          SLIST_INIT(&cd->outs);
         SLIST_INIT(&cd->opts);          SLIST_INIT(&cd->opts);

Legend:
Removed from v.1.107  
changed lines
  Added in v.1.108