diff options
author | nick_m <mainsbridge@gmail.com> | 2016-05-05 12:32:36 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-05-27 23:38:16 +1000 |
commit | 89ba10c05a9f3bd4b741387971dfdbae7df7e030 (patch) | |
tree | 463122e87730164964769c094e8fc76588b39346 /libs/ardour/ardour/tempo.h | |
parent | 8b4f5dcd5f6a570ef920fe77c4dba5242726db5f (diff) |
Yempo ramps - fix new meters ending up at 0, clean code a bit.
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r-- | libs/ardour/ardour/tempo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index 889fde3e99..6a56c194a4 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -506,8 +506,8 @@ private: TempoSection* add_tempo_locked (const Tempo&, double pulse, bool recompute, TempoSection::Type type); TempoSection* add_tempo_locked (const Tempo&, framepos_t frame, bool recompute, TempoSection::Type type); - MeterSection* add_meter_locked (const Meter&, double beat, Timecode::BBT_Time where, bool recompute); - MeterSection* add_meter_locked (const Meter&, framepos_t frame, double beat, Timecode::BBT_Time where, bool recompute); + MeterSection* add_meter_locked (const Meter&, double beat, const Timecode::BBT_Time& where, bool recompute); + MeterSection* add_meter_locked (const Meter&, framepos_t frame, double beat, const Timecode::BBT_Time& where, bool recompute); bool remove_tempo_locked (const TempoSection&); bool remove_meter_locked (const MeterSection&); |