projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3d3b7
)
[pitchshift] make sure rb is set to null first
author
Paul Brossier
<piem@piem.org>
Fri, 26 Oct 2018 10:51:58 +0000
(12:51 +0200)
committer
Paul Brossier
<piem@piem.org>
Thu, 6 Dec 2018 23:33:37 +0000
(
00:33
+0100)
src/effects/pitchshift_rubberband.c
patch
|
blob
|
history
diff --git
a/src/effects/pitchshift_rubberband.c
b/src/effects/pitchshift_rubberband.c
index
6756b73
..
d58e622
100644
(file)
--- a/
src/effects/pitchshift_rubberband.c
+++ b/
src/effects/pitchshift_rubberband.c
@@
-48,6
+48,7
@@
new_aubio_pitchshift (const char_t * mode,
p->samplerate = samplerate;
p->hopsize = hopsize;
p->pitchscale = 1.;
+ p->rb = NULL;
if ((sint_t)hopsize <= 0) {
AUBIO_ERR("pitchshift: hop_size should be >= 0, got %d\n", hopsize);
goto beach;