summaryrefslogtreecommitdiff
path: root/libs/ardour/beats_frames_converter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/beats_frames_converter.cc')
-rw-r--r--libs/ardour/beats_frames_converter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/beats_frames_converter.cc b/libs/ardour/beats_frames_converter.cc
index 62a0ebde69..94042b1b03 100644
--- a/libs/ardour/beats_frames_converter.cc
+++ b/libs/ardour/beats_frames_converter.cc
@@ -30,7 +30,7 @@ namespace ARDOUR {
* supplied to the constructor. Returns the equivalent number of frames,
* taking tempo changes into account.
*/
-framecnt_t
+framepos_t
BeatsFramesConverter::to (double beats) const
{
if (beats < 0) {
@@ -47,7 +47,7 @@ BeatsFramesConverter::to (double beats) const
* taking tempo changes into account.
*/
double
-BeatsFramesConverter::from (framecnt_t frames) const
+BeatsFramesConverter::from (framepos_t frames) const
{
double b = _tempo_map.framewalk_to_beats (_origin_b, frames);
return b;