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

Diff for /src/usr.bin/sndiod/dev.h between version 1.26 and 1.27

version 1.26, 2020/06/12 15:40:18 version 1.27, 2020/06/18 05:11:13
Line 209 
Line 209 
 #define DEV_INIT        1                       /* stopped */  #define DEV_INIT        1                       /* stopped */
 #define DEV_RUN         2                       /* playin & recording */  #define DEV_RUN         2                       /* playin & recording */
         unsigned int pstate;                    /* one of above */          unsigned int pstate;                    /* one of above */
         struct name *path_list;          struct dev_alt {
                   struct dev_alt *next;
                   char *name;
                   unsigned int idx;
           } *alt_list;
           int alt_num;
   
         /*          /*
          * actual parameters and runtime state (i.e. once opened)           * actual parameters and runtime state (i.e. once opened)
Line 265 
Line 270 
 struct dev *dev_new(char *, struct aparams *, unsigned int, unsigned int,  struct dev *dev_new(char *, struct aparams *, unsigned int, unsigned int,
     unsigned int, unsigned int, unsigned int, unsigned int);      unsigned int, unsigned int, unsigned int, unsigned int);
 struct dev *dev_bynum(int);  struct dev *dev_bynum(int);
   int dev_addname(struct dev *, char *);
 void dev_del(struct dev *);  void dev_del(struct dev *);
 void dev_adjpar(struct dev *, int, int, int);  void dev_adjpar(struct dev *, int, int, int);
 int  dev_init(struct dev *);  int  dev_init(struct dev *);

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27