From: Paul Brossier Date: Wed, 28 Sep 2016 13:09:40 +0000 (+0200) Subject: src/onset/onset.c: fix error message X-Git-Tag: 0.4.4~183 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=0ff1b403a729a53f78f277940d4a2e715fe3c841;p=aubio.git src/onset/onset.c: fix error message --- diff --git a/src/onset/onset.c b/src/onset/onset.c index 9d241df8..d16c276b 100644 --- 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);