ref: 92e40288b03d02dd8e8f1485cf1f8e962e0f2dff
parent: 6b233fcc367d62ac9badf7d2d3d9bbbfd44c51f2
author: Paul Brossier <piem@altern.org>
date: Mon Aug 15 06:28:52 EDT 2005
uses errmsg in parse_args instead of debug
--- a/examples/utils.c
+++ b/examples/utils.c
@@ -162,7 +162,7 @@
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 @@
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;