diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-25 17:52:50 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-25 17:52:50 +0200 |
commit | 6c502b8315bec6540e7ab94e2821e328b1f5af30 (patch) | |
tree | f5aa9923a11a5d87399239449ba3b113da497b1a /libs/ardour/ardour/transient_detector.h | |
parent | 5550eebe2fde5c46a5e67613899699713a92e3c8 (diff) |
allow to configure transient detection sensitivity
NB. this does not yet re-analyze regions when the config changes
and is hence also not [yet] exposed in the GUI.
Diffstat (limited to 'libs/ardour/ardour/transient_detector.h')
-rw-r--r-- | libs/ardour/ardour/transient_detector.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/ardour/ardour/transient_detector.h b/libs/ardour/ardour/transient_detector.h index 0e07c5851a..d29e12463f 100644 --- a/libs/ardour/ardour/transient_detector.h +++ b/libs/ardour/ardour/transient_detector.h @@ -37,10 +37,7 @@ public: static std::string operational_identifier(); void set_threshold (float); - void set_sensitivity (float); - - float get_threshold () const; - float get_sensitivity () const; + void set_sensitivity (uint32_t, float); int run (const std::string& path, Readable*, uint32_t channel, AnalysisFeatureList& results); void update_positions (Readable* src, uint32_t channel, AnalysisFeatureList& results); |