diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-02 23:32:33 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-02 23:32:33 +0000 |
commit | f135947606e8d8374ff5567cf4bb0e0450ed3f84 (patch) | |
tree | 258246f3c710ac1a1762b8a4b00583108a62b020 /libs/ardour/ardour/beats_frames_converter.h | |
parent | 69c7dac1a1ee70c5a4053acdc9dd139c986698a2 (diff) |
intermediate commit as all tempo/meter stuff starts to walk the precompute Bars|Beats list. Still have ::round_to_beat_subdivision() to fix. haven't really done any thorough testing at this point, but basic stuff seems OK
git-svn-id: svn://localhost/ardour2/branches/3.0@11131 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/beats_frames_converter.h')
-rw-r--r-- | libs/ardour/ardour/beats_frames_converter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/beats_frames_converter.h b/libs/ardour/ardour/beats_frames_converter.h index ee79430e4e..e331b8411d 100644 --- a/libs/ardour/ardour/beats_frames_converter.h +++ b/libs/ardour/ardour/beats_frames_converter.h @@ -35,7 +35,7 @@ class TempoMap; */ class BeatsFramesConverter : public Evoral::TimeConverter<double,framepos_t> { public: - BeatsFramesConverter (const TempoMap& tempo_map, framepos_t origin) + BeatsFramesConverter (TempoMap& tempo_map, framepos_t origin) : Evoral::TimeConverter<double, framepos_t> (origin) , _tempo_map(tempo_map) {} @@ -44,7 +44,7 @@ public: double from (framepos_t frames) const; private: - const TempoMap& _tempo_map; + TempoMap& _tempo_map; }; } /* namespace ARDOUR */ |