From ffc1f7927a9ec244b1722613c4dd93cd091ef8e4 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 20 Sep 2014 10:27:58 -0300 Subject: [PATCH] src/spectral/phasevoc.c: improve error messages --- src/spectral/phasevoc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spectral/phasevoc.c b/src/spectral/phasevoc.c index c0f622a6..1b55e774 100644 --- a/src/spectral/phasevoc.c +++ b/src/spectral/phasevoc.c @@ -77,13 +77,13 @@ aubio_pvoc_t * new_aubio_pvoc (uint_t win_s, uint_t hop_s) { } */ 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; } -- 2.11.0