projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b233fc
)
uses errmsg in parse_args instead of debug
author
Paul Brossier
<piem@altern.org>
Mon, 15 Aug 2005 10:28:52 +0000
(10:28 +0000)
committer
Paul Brossier
<piem@altern.org>
Mon, 15 Aug 2005 10:28:52 +0000
(10:28 +0000)
examples/utils.c
patch
|
blob
|
history
diff --git
a/examples/utils.c
b/examples/utils.c
index 46224b082c8ce116606f5f709ad610216329f989..919ebebb2de7e9fc98133ee7fa7f70f5e9610acc 100644
(file)
--- 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;