Add comment about some inaccuracies in framepos_plus_bbt.
git-svn-id: svn://localhost/ardour2/branches/3.0@8972 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9d540e6215
commit
d74d488cd4
@ -1906,6 +1906,12 @@ TempoMap::bbt_subtract (const BBT_Time& start, const BBT_Time& decrement) const
|
||||
framepos_t
|
||||
TempoMap::framepos_plus_bbt (framepos_t pos, BBT_Time op) const
|
||||
{
|
||||
/* XXX: this is a little inaccurate as small errors are introduced
|
||||
every time a probably-fractional product of something and
|
||||
frames_per_beat is rounded. Other errors can be introduced
|
||||
by op.ticks' integer nature.
|
||||
*/
|
||||
|
||||
Metrics::const_iterator i;
|
||||
const MeterSection* meter;
|
||||
const MeterSection* m;
|
||||
|
Loading…
Reference in New Issue
Block a user