Changeset 757e255


Ignore:
Timestamp:
Nov 28, 2016, 2:59:20 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
sampler
Children:
6035a34
Parents:
d02d8f0
Message:

src/synth/sampler.c: let sampler_read call memset(0) as needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/synth/sampler.c

    rd02d8f0 r757e255  
    713713  if (o->opened == 1 && o->playing) {
    714714    aubio_sampler_read(o, output, read);
    715     //AUBIO_WRN("sampler: _read got %d\n", *read);
    716     if (*read < o->blocksize) {
    717       if (*read > 0 && o->loop) {
    718         // TODO pull (hopsize - read) frames
    719       }
    720     }
    721715  } else {
    722716    fvec_zeros(output);
     
    730724  if (o->opened == 1 && o->playing) {
    731725    //aubio_sampler_read_multi(o, output, read);
    732     if (*read < o->blocksize) {
    733       if (*read > 0) {
    734         // TODO pull (hopsize - read) frames
    735         //memset(...  tail , 0)
    736       }
    737     }
    738726  } else {
    739727    fmat_zeros(output);
Note: See TracChangeset for help on using the changeset viewer.