projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6388c37
)
src/onset/onset.c: fix error message
author
Paul Brossier
<piem@piem.org>
Wed, 28 Sep 2016 13:09:40 +0000
(15:09 +0200)
committer
Paul Brossier
<piem@piem.org>
Wed, 28 Sep 2016 13:09:40 +0000
(15:09 +0200)
src/onset/onset.c
patch
|
blob
|
history
diff --git
a/src/onset/onset.c
b/src/onset/onset.c
index
9d241df
..
d16c276
100644
(file)
--- a/
src/onset/onset.c
+++ b/
src/onset/onset.c
@@
-190,7
+190,7
@@
aubio_onset_t * new_aubio_onset (const char_t * onset_mode,
AUBIO_ERR("onset: got buffer_size %d, but can not be < 2\n", buf_size);
goto beach;
} else if (buf_size < hop_size) {
- AUBIO_ERR("onset: hop size (%d) is larger than win size (%d)\n",
buf_size, hop
_size);
+ AUBIO_ERR("onset: hop size (%d) is larger than win size (%d)\n",
hop_size, buf
_size);
goto beach;
} else if ((sint_t)samplerate < 1) {
AUBIO_ERR("onset: samplerate (%d) can not be < 1\n", samplerate);