[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.69 and 1.70

version 1.69, 2012/01/10 08:10:21 version 1.70, 2012/03/23 11:59:54
Line 1021 
Line 1021 
 };  };
   
 struct aproc *  struct aproc *
 mix_new(char *name, int maxlat, unsigned round, unsigned autovol)  mix_new(char *name, int maxlat, unsigned round,
       unsigned autovol, unsigned master)
 {  {
         struct aproc *p;          struct aproc *p;
   
Line 1032 
Line 1033 
         p->u.mix.maxlat = maxlat;          p->u.mix.maxlat = maxlat;
         p->u.mix.mon = NULL;          p->u.mix.mon = NULL;
         p->u.mix.autovol = autovol;          p->u.mix.autovol = autovol;
           p->u.mix.master = master;
         return p;          return p;
 }  }
   
Line 1061 
Line 1063 
                 }                  }
                 if (weight > i->r.mix.maxweight)                  if (weight > i->r.mix.maxweight)
                         weight = i->r.mix.maxweight;                          weight = i->r.mix.maxweight;
                 i->r.mix.weight = weight;                  i->r.mix.weight = ADATA_MUL(weight, p->u.mix.master);
 #ifdef DEBUG  #ifdef DEBUG
                 if (debug_level >= 3) {                  if (debug_level >= 3) {
                         abuf_dbg(i);                          abuf_dbg(i);

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70