summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/beats_frames_converter.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-10-11 00:06:08 +0000
committerCarl Hetherington <carl@carlh.net>2010-10-11 00:06:08 +0000
commitb6f1f02131d99392899cd394f1fb408438b1dd58 (patch)
tree1f5254829c43f001a32a4cfb6d815fe0d53cd5a0 /libs/ardour/ardour/beats_frames_converter.h
parentbf0356f39cc01973b3d0d6b11178ad4b1d7658fa (diff)
Comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@7893 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/beats_frames_converter.h')
-rw-r--r--libs/ardour/ardour/beats_frames_converter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/beats_frames_converter.h b/libs/ardour/ardour/beats_frames_converter.h
index 816721ebad..e0856acc6f 100644
--- a/libs/ardour/ardour/beats_frames_converter.h
+++ b/libs/ardour/ardour/beats_frames_converter.h
@@ -29,6 +29,9 @@ namespace ARDOUR {
class TempoMap;
+/** Converter between beats and frames. Takes `distances' in beats or frames
+ * and converts them using the tempo at the \a origin supplied to the constructor.
+ */
class BeatsFramesConverter : public Evoral::TimeConverter<double,framepos_t> {
public:
BeatsFramesConverter(const TempoMap& tempo_map, framepos_t origin)