From: Paul Brossier Date: Tue, 29 Mar 2005 16:06:37 +0000 (+0000) Subject: deactive doubled detection when type is specified X-Git-Tag: bzr2git~934 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62c60758a97f9082e1ec6eb99f45fd82bc0c5ce9;p=aubio.git deactive doubled detection when type is specified --- diff --git a/examples/utils.c b/examples/utils.c index 47e1a785..27836aab 100644 --- a/examples/utils.c +++ b/examples/utils.c @@ -92,6 +92,7 @@ int parse_args (int argc, char **argv) { debug("could not get onset type.\n"); abort(); } + usedoubled = 0; break; case 't': /* threshold value for onset */ threshold = (smpl_t)atof(optarg); diff --git a/examples/utils.h b/examples/utils.h index 5c1d1b0d..d001c22d 100644 --- 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 */