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

Diff for /src/usr.bin/aucat/Attic/aproc.h between version 1.10 and 1.11

version 1.10, 2008/11/04 18:24:06 version 1.11, 2008/11/04 22:18:12
Line 111 
Line 111 
         void (*done)(struct aproc *);          void (*done)(struct aproc *);
 };  };
   
 struct aconv {  
         /*  
          * Format of the buffer. This part is used by conversion code.  
          */  
         int bfirst;             /* bytes to skip at startup */  
         unsigned bps;           /* bytes per sample (padding included) */  
         unsigned shift;         /* shift to get 32bit MSB-justified int */  
         int sigbit;             /* sign bits to XOR to unsigned samples */  
         int bnext;              /* bytes to skip to reach the next byte */  
         int snext;              /* bytes to skip to reach the next sample */  
 };  
   
 /*  /*
  * The aproc structure represents a simple audio processing unit; they are   * The aproc structure represents a simple audio processing unit; they are
  * interconnected by abuf structures and form a kind of "circuit". The circuit   * interconnected by abuf structures and form a kind of "circuit". The circuit
Line 138 
Line 126 
                         struct file *file;      /* file to read/write */                          struct file *file;      /* file to read/write */
                 } io;                  } io;
                 struct {                  struct {
                         struct aconv ist, ost;  
                         int idelta, odelta;     /* reminder of conv_[io]pos */  
                 } conv;  
                 struct {  
 #define MIX_DROP        1  #define MIX_DROP        1
 #define MIX_AUTOQUIT    2  #define MIX_AUTOQUIT    2
                         unsigned flags;         /* bit mask of above */                          unsigned flags;         /* bit mask of above */
Line 164 
Line 148 
                 struct {                  struct {
                         short ctx[NCHAN_MAX];                          short ctx[NCHAN_MAX];
                 } cmap;                  } cmap;
                   struct {
                           int bfirst;             /* bytes to skip at startup */
                           unsigned bps;           /* bytes per sample */
                           unsigned shift;         /* shift to get 32bit MSB */
                           int sigbit;             /* sign bits to XOR */
                           int bnext;              /* to reach the next byte */
                           int snext;              /* to reach the next sample */
                   } conv;
         } u;          } u;
 };  };
   
Line 188 
Line 180 
   
 struct aproc *mix_new(char *, int);  struct aproc *mix_new(char *, int);
 struct aproc *sub_new(char *, int);  struct aproc *sub_new(char *, int);
 struct aproc *conv_new(char *, struct aparams *, struct aparams *);  
 struct aproc *resamp_new(char *, struct aparams *, struct aparams *);  struct aproc *resamp_new(char *, struct aparams *, struct aparams *);
 struct aproc *cmap_new(char *, struct aparams *, struct aparams *);  struct aproc *cmap_new(char *, struct aparams *, struct aparams *);
   struct aproc *enc_new(char *, struct aparams *);
   struct aproc *dec_new(char *, struct aparams *);
   
 void mix_pushzero(struct aproc *);  void mix_pushzero(struct aproc *);
 void mix_setmaster(struct aproc *);  void mix_setmaster(struct aproc *);
   
 #endif /* !defined(FIFO_H) */  #endif /* !defined(APROC_H) */

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11