From: Paul Brossier Date: Sat, 20 Sep 2014 13:27:58 +0000 (-0300) Subject: src/spectral/phasevoc.c: improve error messages X-Git-Tag: 0.4.2~57 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=ffc1f7927a9ec244b1722613c4dd93cd091ef8e4;p=aubio.git src/spectral/phasevoc.c: improve error messages --- 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; }