windows compatible paths for analysis

This commit is contained in:
Robin Gareus 2015-10-08 18:21:07 +02:00
parent ef169ce2ff
commit 014f8a582f
2 changed files with 2 additions and 17 deletions

View File

@ -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()

View 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;
}