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

Diff for /src/usr.bin/aucat/Attic/wav.c between version 1.3 and 1.4

version 1.3, 2009/01/23 17:38:15 version 1.4, 2009/02/04 20:35:14
Line 35 
Line 35 
         struct wav *f;          struct wav *f;
   
         f = (struct wav *)pipe_new(ops, fd, name);          f = (struct wav *)pipe_new(ops, fd, name);
           if (f == NULL)
                   return NULL;
         if (hdr == HDR_WAV) {          if (hdr == HDR_WAV) {
                 if (!wav_readhdr(f->pipe.fd, par, &f->rbytes))                  if (!wav_readhdr(f->pipe.fd, par, &f->rbytes))
                         exit(1);                          exit(1);
Line 52 
Line 54 
         struct wav *f;          struct wav *f;
   
         f = (struct wav *)pipe_new(ops, fd, name);          f = (struct wav *)pipe_new(ops, fd, name);
           if (f == NULL)
                   return NULL;
         if (hdr == HDR_WAV) {          if (hdr == HDR_WAV) {
                 par->le = 1;                  par->le = 1;
                 par->sig = (par->bits <= 8) ? 0 : 1;                  par->sig = (par->bits <= 8) ? 0 : 1;

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