From 381a44e23279f4043c8b383708df178c588edb4b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 24 Nov 2018 19:03:31 +0100 Subject: [PATCH] [specdesc] improve error message --- src/spectral/specdesc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spectral/specdesc.c b/src/spectral/specdesc.c index eee3787b..cc1665a3 100644 --- a/src/spectral/specdesc.c +++ b/src/spectral/specdesc.c @@ -296,7 +296,8 @@ new_aubio_specdesc (const char_t * onset_mode, uint_t size){ else if (strcmp (onset_mode, "default") == 0) onset_type = aubio_onset_default; else { - AUBIO_ERR("unknown spectral descriptor type %s\n", onset_mode); + AUBIO_ERR("specdesc: unknown spectral descriptor type '%s'\n", + onset_mode); AUBIO_FREE(o); return NULL; } -- 2.11.0