[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.15 and 1.16

version 1.15, 2008/11/11 12:56:02 version 1.16, 2008/11/11 19:21:20
Line 501 
Line 501 
 void  void
 dev_setvol(struct abuf *ibuf, int vol)  dev_setvol(struct abuf *ibuf, int vol)
 {  {
         if (!dev_getep(&ibuf, NULL))          if (!dev_getep(&ibuf, NULL)) {
                   DPRINTF("dev_setvol: not connected yet\n");
                 return;                  return;
         fprintf(stderr, "vol = %d\n", vol);          }
         ibuf->mixvol = vol;          ibuf->mixvol = vol;
           DPRINTF("dev_setvol: %d\n", vol);
 }  }
   
 /*  /*

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16