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

Diff for /src/usr.bin/sndiod/dev.c between version 1.3 and 1.4

version 1.3, 2012/11/30 20:44:31 version 1.4, 2013/02/26 22:52:08
Line 1689 
Line 1689 
                 if (!aparams_native(&s->par)) {                  if (!aparams_native(&s->par)) {
                         dec_init(&s->mix.dec, &s->par, slot_nch);                          dec_init(&s->mix.dec, &s->par, slot_nch);
                         s->mix.decbuf =                          s->mix.decbuf =
                             xmalloc(d->round * slot_nch * sizeof(adata_t));                              xmalloc(s->round * slot_nch * sizeof(adata_t));
                 }                  }
                 if (s->rate != d->rate) {                  if (s->rate != d->rate) {
                         resamp_init(&s->mix.resamp, s->round, d->round,                          resamp_init(&s->mix.resamp, s->round, d->round,
Line 1728 
Line 1728 
                 if (!aparams_native(&s->par)) {                  if (!aparams_native(&s->par)) {
                         enc_init(&s->sub.enc, &s->par, slot_nch);                          enc_init(&s->sub.enc, &s->par, slot_nch);
                         s->sub.encbuf =                          s->sub.encbuf =
                             xmalloc(d->round * slot_nch * sizeof(adata_t));                              xmalloc(s->round * slot_nch * sizeof(adata_t));
                 }                  }
   
                 /*                  /*

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