From: Paul Brossier Date: Mon, 15 Aug 2005 10:28:52 +0000 (+0000) Subject: uses errmsg in parse_args instead of debug X-Git-Tag: bzr2git~843 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=92e40288b03d02dd8e8f1485cf1f8e962e0f2dff;p=aubio.git uses errmsg in parse_args instead of debug --- diff --git a/examples/utils.c b/examples/utils.c index 46224b08..919ebebb 100644 --- a/examples/utils.c +++ b/examples/utils.c @@ -162,7 +162,7 @@ int parse_args (int argc, char **argv) { else if (strcmp(optarg,"kl") == 0) type_onset = aubio_onset_kl; else { - debug("could not get onset type.\n"); + errmsg("unknown onset type.\n"); abort(); } usedoubled = 0; @@ -189,7 +189,7 @@ int parse_args (int argc, char **argv) { else if (strcmp(optarg,"fcomb") == 0) type_pitch = aubio_pitch_fcomb; else { - debug("could not get pitch type.\n"); + errmsg("unknown pitch type.\n"); abort(); } break;