src/synth/sampler.c: add last_read and source_output_tmp
authorPaul Brossier <piem@piem.org>
Sun, 12 Mar 2017 13:51:39 +0000 (14:51 +0100)
committerPaul Brossier <piem@piem.org>
Sun, 12 Mar 2017 13:51:39 +0000 (14:51 +0100)
src/synth/sampler.c

index a7e6129..7ee8ef6 100644 (file)
@@ -84,6 +84,8 @@ struct _aubio_sampler_t {
   pthread_cond_t read_request;
   uint_t source_blocksize;
   fvec_t *source_output;
+  fvec_t *source_output_tmp;
+  uint_t last_read;
   fmat_t *source_moutput;
   uint_t channels;
   // file opening thread