projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
918f71f
)
src/io/source_sndfile.c: use linear resampling to make sure all output samples are...
author
Paul Brossier
<piem@piem.org>
Mon, 16 Jul 2012 22:52:00 +0000
(16:52 -0600)
committer
Paul Brossier
<piem@piem.org>
Mon, 16 Jul 2012 22:52:00 +0000
(16:52 -0600)
src/io/source_sndfile.c
patch
|
blob
|
history
diff --git
a/src/io/source_sndfile.c
b/src/io/source_sndfile.c
index 1b0124659d51826f549911932263799f6dc4fa55..7fbe2f221d07f7c033f5fc8cb225c51d33756b57 100644
(file)
--- a/
src/io/source_sndfile.c
+++ b/
src/io/source_sndfile.c
@@
-104,7
+104,7
@@
aubio_source_sndfile_t * new_aubio_source_sndfile(char_t * path, uint_t samplera
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 ) {