Changeset a69e7aa


Ignore:
Timestamp:
Nov 28, 2016, 2:53:53 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
sampler
Children:
584bfd0
Parents:
943ef49
Message:

src/synth/sampler.c: always create source_output if a ringbuffer is used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/synth/sampler.c

    r943ef49 ra69e7aa  
    154154  //s->source_blocksize = 8192;
    155155
    156   if (s->threaded_read || s->perfectloop)
    157     s->source_output = new_fvec(s->source_blocksize);
    158156  if (s->perfectloop || s->source_blocksize != s->blocksize) {
    159157    s->ring = new_aubio_ringbuffer(s->source_blocksize * 2, s->blocksize);
    160158  }
     159  if (s->threaded_read || s->perfectloop || s->ring)
     160    s->source_output = new_fvec(s->source_blocksize);
    161161  //s->channels = 1;
    162162  //s->source_moutput = new_fmat(s->source_blocksize, s->channels);
Note: See TracChangeset for help on using the changeset viewer.