projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4296dd
)
examples/utils.c: improve error message if no input found
author
Paul Brossier
<piem@piem.org>
Mon, 11 Feb 2013 03:29:27 +0000
(22:29 -0500)
committer
Paul Brossier
<piem@piem.org>
Mon, 11 Feb 2013 03:29:27 +0000
(22:29 -0500)
examples/utils.c
patch
|
blob
|
history
diff --git
a/examples/utils.c
b/examples/utils.c
index 95568e1762145d290f41e2f2e46e62c057869747..16c321cbadaba712ba8061dbcc14f1b336eb02a0 100644
(file)
--- a/
examples/utils.c
+++ b/
examples/utils.c
@@
-184,9
+184,8
@@
parse_args (int argc, char **argv)
debug ("Jack input output\n");
usejack = 1;
#else
- debug
- ("Error: Could not switch to jack mode\n aubio was compiled without jack support\n");
- exit (1);
+ errmsg("Error: no arguments given (and no available audio input)\n");
+ usage ( stderr, 1 );
#endif
}