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

Diff for /src/usr.bin/sndiod/opt.h between version 1.1 and 1.2

version 1.1, 2012/11/23 07:03:28 version 1.2, 2018/06/26 07:12:35
Line 19 
Line 19 
   
 struct dev;  struct dev;
   
 struct opt {  struct opt *opt_new(struct dev *, char *, int, int, int, int,
         struct opt *next;  
 #define OPT_NAMEMAX 11  
         char name[OPT_NAMEMAX + 1];  
         int maxweight;          /* max dynamic range for clients */  
         int pmin, pmax;         /* play channels */  
         int rmin, rmax;         /* recording channels */  
         int mmc;                /* true if MMC control enabled */  
         int dup;                /* true if join/expand enabled */  
         int mode;               /* bitmap of MODE_XXX */  
         struct dev *dev;        /* device to which we're attached */  
 };  
   
 extern struct opt *opt_list;  
   
 struct opt *opt_new(char *, struct dev *, int, int, int, int,  
     int, int, int, unsigned int);      int, int, int, unsigned int);
 void opt_del(struct opt *);  void opt_del(struct dev *, struct opt *);
 struct opt *opt_byname(char *, unsigned int);  struct opt *opt_byname(struct dev *, char *);
   
 #endif /* !defined(OPT_H) */  #endif /* !defined(OPT_H) */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2