shithub: aubio

Download patch

ref: 724922c54fe17cb1a4e8fc59a9a37099c6f8ae5b
parent: eacc55c3baeb063161e0bb96fa69fa2c52868683
author: Paul Brossier <piem@piem.org>
date: Mon Oct 3 07:48:22 EDT 2016

src/pitch/pitch.c: fix error string

--- a/src/pitch/pitch.c
+++ b/src/pitch/pitch.c
@@ -138,7 +138,7 @@
     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, hopsize);
+    AUBIO_ERR("pitch: hop size (%d) is larger than win size (%d)\n", hopsize, bufsize);
     goto beach;
   } else if ((sint_t)samplerate < 1) {
     AUBIO_ERR("pitch: samplerate (%d) can not be < 1\n", samplerate);