diff options
Diffstat (limited to 'libs/ardour/ardour/beats_frames_converter.h')
-rw-r--r-- | libs/ardour/ardour/beats_frames_converter.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/ardour/ardour/beats_frames_converter.h b/libs/ardour/ardour/beats_frames_converter.h index 9db4448ebb..b1e44adbef 100644 --- a/libs/ardour/ardour/beats_frames_converter.h +++ b/libs/ardour/ardour/beats_frames_converter.h @@ -32,19 +32,15 @@ class TempoMap; class BeatsFramesConverter : public Evoral::TimeConverter<double,sframes_t> { public: BeatsFramesConverter(const TempoMap& tempo_map, sframes_t origin) - : _tempo_map(tempo_map) - , _origin(origin) + : Evoral::TimeConverter<double, sframes_t> (origin) + , _tempo_map(tempo_map) {} sframes_t to(double beats) const; double from(sframes_t frames) const; - sframes_t origin() const { return _origin; } - void set_origin(sframes_t origin) { _origin = origin; } - private: const TempoMap& _tempo_map; - sframes_t _origin; }; } /* namespace ARDOUR */ |