[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.131 and 1.132

version 1.131, 2012/01/10 08:04:19 version 1.132, 2012/01/26 09:07:03
Line 62 
Line 62 
  * sample rate if no ``-r'' is used   * sample rate if no ``-r'' is used
  */   */
 #ifndef DEFAULT_RATE  #ifndef DEFAULT_RATE
 #define DEFAULT_RATE    44100  #define DEFAULT_RATE    48000
 #endif  #endif
   
 /*  /*
  * block size if no ``-z'' is used   * block size if no ``-z'' is used
  */   */
 #ifndef DEFAULT_ROUND  #ifndef DEFAULT_ROUND
 #define DEFAULT_ROUND   (44100 / 15)  #define DEFAULT_ROUND   (48000 / 100)
 #endif  #endif
   
 /*  /*
Line 347 
Line 347 
         if (!bufsz) {          if (!bufsz) {
                 if (!round)                  if (!round)
                         round = DEFAULT_ROUND;                          round = DEFAULT_ROUND;
                 bufsz = round * 4;                  bufsz = round * 2;
         } else if (!round)          } else if (!round)
                 round = bufsz / 4;                  round = bufsz / 2;
         d = dev_new(path, mode, bufsz, round, hold, autovol);          d = dev_new(path, mode, bufsz, round, hold, autovol);
         if (d == NULL)          if (d == NULL)
                 exit(1);                  exit(1);

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132