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

Diff for /src/usr.bin/aucat/Attic/aproc.c between version 1.64 and 1.65

version 1.64, 2011/04/28 07:20:03 version 1.65, 2011/05/26 07:18:40
Line 1016 
Line 1016 
 };  };
   
 struct aproc *  struct aproc *
 mix_new(char *name, int maxlat, unsigned round)  mix_new(char *name, int maxlat, unsigned round, unsigned autovol)
 {  {
         struct aproc *p;          struct aproc *p;
   
Line 1027 
Line 1027 
         p->u.mix.maxlat = maxlat;          p->u.mix.maxlat = maxlat;
         p->u.mix.ctl = NULL;          p->u.mix.ctl = NULL;
         p->u.mix.mon = NULL;          p->u.mix.mon = NULL;
           p->u.mix.autovol = autovol;
         return p;          return p;
 }  }
   
Line 1039 
Line 1040 
         unsigned n;          unsigned n;
         struct abuf *i, *j;          struct abuf *i, *j;
         int weight;          int weight;
   
           if (!p->u.mix.autovol)
                   return;
   
         /*          /*
          * count the number of inputs. If a set of inputs           * count the number of inputs. If a set of inputs

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65