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

Diff for /src/usr.bin/aucat/Attic/wav.h between version 1.9 and 1.10

version 1.9, 2010/04/21 06:13:07 version 1.10, 2010/06/04 06:15:28
Line 37 
Line 37 
         off_t mmcpos;           /* play/rec start point set by MMC */          off_t mmcpos;           /* play/rec start point set by MMC */
         short *map;             /* mulaw/alaw -> s16 conversion table */          short *map;             /* mulaw/alaw -> s16 conversion table */
         int slot;               /* mixer ctl slot number */          int slot;               /* mixer ctl slot number */
         int tr;                 /* use MMC control */          int mmc;                /* use MMC control */
         int join;               /* join/expand channels */          int join;               /* join/expand channels */
         unsigned vol;           /* current volume */          unsigned vol;           /* current volume */
         unsigned maxweight;     /* dynamic range when vol == 127 */          unsigned maxweight;     /* dynamic range when vol == 127 */
Line 48 
Line 48 
 #define WAV_FAILED      4       /* failed to seek */  #define WAV_FAILED      4       /* failed to seek */
         unsigned pstate;        /* one of above */          unsigned pstate;        /* one of above */
         unsigned mode;          /* bitmap of MODE_* */          unsigned mode;          /* bitmap of MODE_* */
           struct dev *dev;        /* device playing or recording */
 };  };
   
 extern struct fileops wav_ops;  extern struct fileops wav_ops;
   
 struct wav *wav_new_in(struct fileops *, unsigned, char *, unsigned,  struct wav *wav_new_in(struct fileops *, struct dev *,
     struct aparams *, unsigned, unsigned, int, int);      unsigned, char *, unsigned, struct aparams *, unsigned, unsigned, int, int);
 struct wav *wav_new_out(struct fileops *, unsigned, char *, unsigned,  struct wav *wav_new_out(struct fileops *, struct dev *,
     struct aparams *, unsigned, int, int);      unsigned, char *, unsigned, struct aparams *, unsigned, int, int);
 unsigned wav_read(struct file *, unsigned char *, unsigned);  unsigned wav_read(struct file *, unsigned char *, unsigned);
 unsigned wav_write(struct file *, unsigned char *, unsigned);  unsigned wav_write(struct file *, unsigned char *, unsigned);
 void wav_close(struct file *);  void wav_close(struct file *);

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