summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-10-08 18:21:07 +0200
committerRobin Gareus <robin@gareus.org>2015-10-08 18:21:07 +0200
commit014f8a582fa2a696d5c27e8a775d6a8d024c50f4 (patch)
tree6fff07a4769b8dccc6a8176f0ede27516a56ecaa /libs/ardour
parentef169ce2ffa05ab463cc4c44b53a186079ccf871 (diff)
windows compatible paths for analysis
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/onset_detector.cc9
-rw-r--r--libs/ardour/transient_detector.cc10
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;
}