ref: 62c60758a97f9082e1ec6eb99f45fd82bc0c5ce9
parent: 9499a546be6cd24aeaf698a8d3e13068023f0165
author: Paul Brossier <piem@altern.org>
date: Tue Mar 29 11:06:37 EST 2005
deactive doubled detection when type is specified
--- a/examples/utils.c
+++ b/examples/utils.c
@@ -92,6 +92,7 @@
debug("could not get onset type.\n");
abort();
}
+ usedoubled = 0;
break;
case 't': /* threshold value for onset */
threshold = (smpl_t)atof(optarg);
--- a/examples/utils.h
+++ b/examples/utils.h
@@ -23,6 +23,7 @@
extern int verbose;
extern int usejack;
+extern int usedoubled;
extern const char * output_filename;
extern const char * input_filename;
/* defined in utils.c */