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

Diff for /src/usr.bin/aucat/Attic/dev.c between version 1.20 and 1.21

version 1.20, 2008/12/07 17:10:41 version 1.21, 2008/12/16 22:11:12
Line 271 
Line 271 
                                 break;                                  break;
                         ibuf = LIST_FIRST(&ibuf->rproc->obuflist);                          ibuf = LIST_FIRST(&ibuf->rproc->obuflist);
                 }                  }
                   *sibuf = ibuf;
         }          }
         if (sobuf) {          if (sobuf) {
                 obuf = *sobuf;                  obuf = *sobuf;
Line 283 
Line 284 
                                 break;                                  break;
                         obuf = LIST_FIRST(&obuf->wproc->ibuflist);                          obuf = LIST_FIRST(&obuf->wproc->ibuflist);
                 }                  }
                   *sobuf = obuf;
         }          }
         return 1;          return 1;
 }  }
Line 445 
Line 447 
 void  void
 dev_setvol(struct abuf *ibuf, int vol)  dev_setvol(struct abuf *ibuf, int vol)
 {  {
           DPRINTF("dev_setvol: %p\n", ibuf);
         if (!dev_getep(&ibuf, NULL)) {          if (!dev_getep(&ibuf, NULL)) {
                 DPRINTF("dev_setvol: not connected yet\n");                  DPRINTF("dev_setvol: not connected yet\n");
                 return;                  return;
         }          }
         ibuf->mixvol = vol;          ibuf->mixvol = vol;
         DPRINTF("dev_setvol: %d\n", vol);          DPRINTF("dev_setvol: %p -> %d\n", ibuf, vol);
 }  }
   
 /*  /*

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21