abort if configuration fails
[ardour.git] / libs / ardour / transient_detector.cc
index 51678286916c79885097ce3aa3f48feaf0398056..41bb51f710275bbdeac69c74c7422eca3ffa7d93 100644 (file)
@@ -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;
 }