[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.6 and 1.7

version 1.6, 2021/03/03 10:19:06 version 1.7, 2021/11/01 14:43:25
Line 23 
Line 23 
   
 struct opt {  struct opt {
         struct opt *next;          struct opt *next;
         struct dev *dev;          struct dev *dev, *alt_first;
         struct midi *midi;          struct midi *midi;
         struct mtc *mtc;        /* if set, MMC-controlled MTC source */          struct mtc *mtc;        /* if set, MMC-controlled MTC source */
   
Line 35 
Line 35 
         int rmin, rmax;         /* recording channels */          int rmin, rmax;         /* recording channels */
         int dup;                /* true if join/expand enabled */          int dup;                /* true if join/expand enabled */
         int mode;               /* bitmap of MODE_XXX */          int mode;               /* bitmap of MODE_XXX */
           int refcnt;
 };  };
   
 extern struct opt *opt_list;  extern struct opt *opt_list;
Line 42 
Line 43 
 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 opt *);  void opt_del(struct opt *);
 struct opt *opt_byname(struct dev *, char *);  struct opt *opt_byname(char *);
   struct opt *opt_bynum(int);
   void opt_init(struct opt *);
   void opt_done(struct opt *);
   void opt_setdev(struct opt *, struct dev *);
   struct dev *opt_ref(struct opt *);
   void opt_unref(struct opt *);
   
 #endif /* !defined(OPT_H) */  #endif /* !defined(OPT_H) */

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