[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.2 and 1.3

version 1.2, 2018/06/26 07:12:35 version 1.3, 2021/01/29 11:21:00
Line 19 
Line 19 
   
 struct dev;  struct dev;
   
   struct opt {
           struct opt *next;
           struct dev *dev;
   #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 */
   };
   
   extern struct opt *opt_list;
   
 struct opt *opt_new(struct dev *, char *, int, int, int, int,  struct opt *opt_new(struct dev *, char *, int, int, int, int,
     int, int, int, unsigned int);      int, int, int, unsigned int);
 void opt_del(struct dev *, struct opt *);  void opt_del(struct opt *);
 struct opt *opt_byname(struct dev *, char *);  struct opt *opt_byname(struct dev *, char *);
   
 #endif /* !defined(OPT_H) */  #endif /* !defined(OPT_H) */

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