projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add fixed-up framepos_plus_beats() and use it for the BeatsFramesConverter, since...
[ardour.git]
/
libs
/
ardour
/
beats_frames_converter.cc
diff --git
a/libs/ardour/beats_frames_converter.cc
b/libs/ardour/beats_frames_converter.cc
index 59c0bb28962ffe10e954e9ed68ced4dbc0de6b35..f5d1794abb07c00bbaac4aca73a6512b23b88e86 100644
(file)
--- a/
libs/ardour/beats_frames_converter.cc
+++ b/
libs/ardour/beats_frames_converter.cc
@@
-29,7
+29,7
@@
BeatsFramesConverter::to (double beats) const
{
assert (beats >= 0);
- return _tempo_map.framepos_plus_b
bt (_origin_b, Timecode::BBT_Time(beats)
) - _origin_b;
+ return _tempo_map.framepos_plus_b
eats (_origin_b, beats
) - _origin_b;
}
double