shithub: aubio

Download patch

ref: 381a44e23279f4043c8b383708df178c588edb4b
parent: c6f1f7de63b9b1699ba07b6cdae09958cb56670b
author: Paul Brossier <piem@piem.org>
date: Sat Nov 24 14:03:31 EST 2018

[specdesc] improve error message

--- a/src/spectral/specdesc.c
+++ b/src/spectral/specdesc.c
@@ -296,7 +296,8 @@
   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;
   }