[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.9 and 1.10

version 1.9, 2008/08/14 09:47:51 version 1.10, 2008/08/14 09:58:55
Line 467 
Line 467 
         return p;          return p;
 }  }
   
   void
   mix_pushzero(struct aproc *p)
   {
           struct abuf *obuf = LIST_FIRST(&p->obuflist);
   
           abuf_wcommit(obuf, obuf->mixtodo);
           obuf->mixtodo = 0;
           abuf_flush(obuf);
           mix_bzero(p);
   }
   
   /*
    * Normalize input levels
    */
   void
   mix_setmaster(struct aproc *p)
   {
           unsigned n;
           struct abuf *buf;
   
           n = 0;
           LIST_FOREACH(buf, &p->ibuflist, ient)
               n++;
           LIST_FOREACH(buf, &p->ibuflist, ient)
               buf->mixvol = ADATA_UNIT / n;
   }
   
 /*  /*
  * Copy data from ibuf to obuf.   * Copy data from ibuf to obuf.
  */   */

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10