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

Diff for /src/usr.bin/aucat/Attic/opt.h between version 1.7 and 1.8

version 1.7, 2010/05/02 11:54:26 version 1.8, 2010/06/04 06:15:28
Line 20 
Line 20 
 #include <sys/queue.h>  #include <sys/queue.h>
 #include "aparams.h"  #include "aparams.h"
   
   struct dev;
   
 struct opt {  struct opt {
         SLIST_ENTRY(opt) entry;          SLIST_ENTRY(opt) entry;
 #define OPT_NAMEMAX 11  #define OPT_NAMEMAX 11
Line 36 
Line 38 
 #define MODE_MON        0x10    /* allowed to monitor */  #define MODE_MON        0x10    /* allowed to monitor */
 #define MODE_LOOP       0x20    /* deviceless mode */  #define MODE_LOOP       0x20    /* deviceless mode */
 #define MODE_RECMASK    (MODE_REC | MODE_MON)  #define MODE_RECMASK    (MODE_REC | MODE_MON)
   #define MODE_AUDIOMASK  (MODE_REC | MODE_MON | MODE_PLAY)
   #define MODE_MIDIMASK   (MODE_MIDIIN | MODE_MIDIOUT)
         unsigned mode;          /* bitmap of above */          unsigned mode;          /* bitmap of above */
           struct dev *dev;        /* device to which we're attached */
 };  };
   
 SLIST_HEAD(optlist,opt);  SLIST_HEAD(optlist,opt);
   
 void opt_new(char *, struct aparams *, struct aparams *,  void opt_new(char *, struct dev *, struct aparams *, struct aparams *,
     int, int, int, unsigned);      int, int, int, unsigned);
 struct opt *opt_byname(char *);  struct opt *opt_byname(char *);
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8