diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-15 21:04:44 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-15 21:04:44 +0000 |
commit | 8367cacf150be852b9baf308caebe23603f36ff6 (patch) | |
tree | 688fbdb9ded2775baf1618f09ce1313fab040445 /libs/ardour/tempo.cc | |
parent | 23973bae24b7f569e26c7f869a103aacbaf66ab2 (diff) |
Update MidiRegion::_start_beats on trimming the front of a MIDI region; reset _start_beats with _start on MidiRegion::fix_negative_start(). May help with #4736.
git-svn-id: svn://localhost/ardour2/branches/3.0@11984 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/tempo.cc')
-rw-r--r-- | libs/ardour/tempo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index c8fd5f14cb..89427f57b9 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -1889,7 +1889,7 @@ TempoMap::framepos_plus_beats (framepos_t pos, Evoral::MusicalTime beats) const return pos; } -/** Subtract some (fractional) beats to a frame position, and return the result in frames */ +/** Subtract some (fractional) beats from a frame position, and return the result in frames */ framepos_t TempoMap::framepos_minus_beats (framepos_t pos, Evoral::MusicalTime beats) const { |