shithub: aubio

Download patch

ref: ffc1f7927a9ec244b1722613c4dd93cd091ef8e4
parent: ad1ba08727f1b932eee30ba876ab11a5d675330f
author: Paul Brossier <piem@piem.org>
date: Sat Sep 20 06:27:58 EDT 2014

src/spectral/phasevoc.c: improve error messages

--- a/src/spectral/phasevoc.c
+++ b/src/spectral/phasevoc.c
@@ -77,13 +77,13 @@
   } */
 
   if ((sint_t)hop_s < 1) {
-    AUBIO_ERR("got hop_size %d, but can not be < 1\n", hop_s);
+    AUBIO_ERR("pvoc: got hop_size %d, but can not be < 1\n", hop_s);
     goto beach;
   } else if ((sint_t)win_s < 1) {
-    AUBIO_ERR("got buffer_size %d, but can not be < 1\n", win_s);
+    AUBIO_ERR("pvoc: got buffer_size %d, but can not be < 1\n", win_s);
     goto beach;
   } else if (win_s < hop_s) {
-    AUBIO_ERR("hop size (%d) is larger than win size (%d)\n", win_s, hop_s);
+    AUBIO_ERR("pvoc: hop size (%d) is larger than win size (%d)\n", win_s, hop_s);
     goto beach;
   }