From 816932e01e85173c5bd75f80b2a62e4ce0b9d271 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 28 Nov 2016 14:55:48 +0100 Subject: [PATCH] src/synth/sampler.c: improve comments --- src/synth/sampler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/synth/sampler.c b/src/synth/sampler.c index 333a6f6c..ea6b0635 100644 --- a/src/synth/sampler.c +++ b/src/synth/sampler.c @@ -469,7 +469,8 @@ aubio_sampler_reading_from_source_ring_pull(aubio_sampler_t *s, fvec_t *output, *read = s->blocksize; if (s->eof_remaining > 0) { if (s->eof_remaining <= s->blocksize) { - s->eof = 1; + //AUBIO_WRN("sampler: signaling eof\n"); + s->eof = 1; // signal eof s->eof_remaining = 0; } else if (s->eof_remaining <= s->source_blocksize) { s->eof_remaining -= s->blocksize; -- 2.11.0