version 1.3, 2012/11/30 20:44:31 |
version 1.4, 2013/02/26 22:52:08 |
|
|
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, |
|
|
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)); |
} |
} |
|
|
/* |
/* |