projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eacc55c
)
src/pitch/pitch.c: fix error string
author
Paul Brossier
<piem@piem.org>
Mon, 3 Oct 2016 09:48:22 +0000
(11:48 +0200)
committer
Paul Brossier
<piem@piem.org>
Mon, 3 Oct 2016 09:48:22 +0000
(11:48 +0200)
src/pitch/pitch.c
patch
|
blob
|
history
diff --git
a/src/pitch/pitch.c
b/src/pitch/pitch.c
index
565a3a2
..
0015998
100644
(file)
--- a/
src/pitch/pitch.c
+++ b/
src/pitch/pitch.c
@@
-138,7
+138,7
@@
new_aubio_pitch (const char_t * pitch_mode,
AUBIO_ERR("pitch: got buffer_size %d, but can not be < 1\n", bufsize);
goto beach;
} else if (bufsize < hopsize) {
- AUBIO_ERR("pitch: hop size (%d) is larger than win size (%d)\n",
bufsize, hop
size);
+ AUBIO_ERR("pitch: hop size (%d) is larger than win size (%d)\n",
hopsize, buf
size);
goto beach;
} else if ((sint_t)samplerate < 1) {
AUBIO_ERR("pitch: samplerate (%d) can not be < 1\n", samplerate);