ref: a4bf052635d805dbd751edb0e30db3c06df56d5a
parent: f4296ddad66d6e0bb8ae6f2edaa61086d566ce4f
author: Paul Brossier <piem@piem.org>
date: Sun Feb 10 17:29:27 EST 2013
examples/utils.c: improve error message if no input found
--- a/examples/utils.c
+++ b/examples/utils.c
@@ -184,9 +184,8 @@
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
}