summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/beats_frames_converter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/beats_frames_converter.h')
-rw-r--r--libs/ardour/ardour/beats_frames_converter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/beats_frames_converter.h b/libs/ardour/ardour/beats_frames_converter.h
index ada09b1179..908dd1909e 100644
--- a/libs/ardour/ardour/beats_frames_converter.h
+++ b/libs/ardour/ardour/beats_frames_converter.h
@@ -37,15 +37,15 @@ class TempoMap;
* them to the opposite unit, taking tempo changes into account.
*/
class LIBARDOUR_API BeatsFramesConverter
- : public Evoral::TimeConverter<Evoral::MusicalTime,framepos_t> {
+ : public Evoral::TimeConverter<Evoral::Beats,framepos_t> {
public:
BeatsFramesConverter (TempoMap& tempo_map, framepos_t origin)
- : Evoral::TimeConverter<Evoral::MusicalTime, framepos_t> (origin)
+ : Evoral::TimeConverter<Evoral::Beats, framepos_t> (origin)
, _tempo_map(tempo_map)
{}
- framepos_t to (Evoral::MusicalTime beats) const;
- Evoral::MusicalTime from (framepos_t frames) const;
+ framepos_t to (Evoral::Beats beats) const;
+ Evoral::Beats from (framepos_t frames) const;
private:
TempoMap& _tempo_map;