From 014f8a582fa2a696d5c27e8a775d6a8d024c50f4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 8 Oct 2015 18:21:07 +0200 Subject: windows compatible paths for analysis --- libs/ardour/onset_detector.cc | 9 +-------- libs/ardour/transient_detector.cc | 10 +--------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/libs/ardour/onset_detector.cc b/libs/ardour/onset_detector.cc index 326c373df2..60fea6dabb 100644 --- a/libs/ardour/onset_detector.cc +++ b/libs/ardour/onset_detector.cc @@ -28,19 +28,12 @@ using namespace std; /* need a static initializer function for this */ -string OnsetDetector::_op_id = X_("libardourvampplugins:aubioonset:2"); +string OnsetDetector::_op_id = X_("aubio-onset"); OnsetDetector::OnsetDetector (float sr) : AudioAnalyser (sr, X_("libardourvampplugins:aubioonset")) , current_results (0) { - /* update the op_id */ - - _op_id = X_("libardourvampplugins:aubioonset"); - - // XXX this should load the above-named plugin and get the current version - - _op_id += ":2"; } OnsetDetector::~OnsetDetector() diff --git a/libs/ardour/transient_detector.cc b/libs/ardour/transient_detector.cc index 5167828691..41bb51f710 100644 --- a/libs/ardour/transient_detector.cc +++ b/libs/ardour/transient_detector.cc @@ -30,19 +30,11 @@ using namespace std; /* need a static initializer function for this */ -string TransientDetector::_op_id = X_("libardourvampplugins:qm-onsetdetector:2"); +string TransientDetector::_op_id = X_("qm-onset"); TransientDetector::TransientDetector (float sr) : AudioAnalyser (sr, X_("libardourvampplugins:qm-onsetdetector")) { - /* update the op_id */ - - _op_id = X_("libardourvampplugins:qm-onsetdetector"); - - // XXX this should load the above-named plugin and get the current version - - _op_id += ":2"; - threshold = 0.00; } -- cgit v1.2.3