ref: 6fd8d7e757c8241eae5d04596f0e36ce892267be
parent: 918f71f03ce4fbda6ef1a90fb580966c5acd225a
author: Paul Brossier <piem@piem.org>
date: Mon Jul 16 12:52:00 EDT 2012
src/io/source_sndfile.c: use linear resampling to make sure all output samples are created on first read
--- a/src/io/source_sndfile.c
+++ b/src/io/source_sndfile.c
@@ -104,7 +104,7 @@
s->input_data = NULL;
if (s->ratio != 1) {
s->input_data = new_fvec(s->input_hop_size);
- s->resampler = new_aubio_resampler(s->ratio, 0);
+ s->resampler = new_aubio_resampler(s->ratio, 4);
if (s->ratio > 1) {
// we would need to add a ring buffer for these
if ( (uint_t)(s->input_hop_size * s->ratio + .5) != s->hop_size ) {