projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aef9691
)
src/effects/pitchshift.c: avoid signed/unsigned comparison
author
Paul Brossier
<piem@piem.org>
Wed, 21 Sep 2016 09:26:10 +0000
(11:26 +0200)
committer
Paul Brossier
<piem@piem.org>
Wed, 21 Sep 2016 09:26:10 +0000
(11:26 +0200)
src/effects/pitchshift.c
patch
|
blob
|
history
diff --git
a/src/effects/pitchshift.c
b/src/effects/pitchshift.c
index
17f4f47
..
2183569
100644
(file)
--- a/
src/effects/pitchshift.c
+++ b/
src/effects/pitchshift.c
@@
-103,7
+103,7
@@
new_aubio_pitchshift (const char_t * mode,
unsigned int latency = MAX(p->hopsize, rubberband_get_latency(p->rb));
int available = rubberband_available(p->rb);
fvec_t *zeros = new_fvec(p->hopsize);
- while (available <= latency) {
+ while (available <=
(int)
latency) {
rubberband_process(p->rb, (const float* const*)&(zeros->data), p->hopsize, 0);
available = rubberband_available(p->rb);
}