diff options
author | nick_m <mainsbridge@gmail.com> | 2016-05-24 00:03:58 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-05-27 23:38:17 +1000 |
commit | 8b2f73d5ac73c9f05000aa0204b033f9de0dd3c3 (patch) | |
tree | 7908102a597b9ab2e71f924b11fc63dd21f67817 /libs/ardour/ardour/tempo.h | |
parent | f182235410d3121929c8357cf61bc66f56a2b4a0 (diff) |
Tempo ramps - rework tempo drags, improve comments.
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r-- | libs/ardour/ardour/tempo.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index a3eec81bb9..db618a4513 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -397,12 +397,13 @@ class LIBARDOUR_API TempoMap : public PBD::StatefulDestructible void replace_meter (const MeterSection&, const Meter&, const Timecode::BBT_Time& where, const framepos_t& frame , PositionLockStyle pls); - std::pair<double, framepos_t> predict_tempo (TempoSection* section, const Timecode::BBT_Time& bbt); + std::pair<double, framepos_t> predict_tempo_position (TempoSection* section, const Timecode::BBT_Time& bbt); + + void gui_move_tempo (TempoSection*, const std::pair<const double&, const framepos_t&>& pulse); - void gui_move_tempo_frame (TempoSection*, const framepos_t& frame); - void gui_move_tempo_beat (TempoSection*, const double& beat); void gui_move_meter_frame (MeterSection*, const framepos_t& frame); void gui_move_meter_bbt (MeterSection*, const Timecode::BBT_Time& bbt); + bool gui_change_tempo (TempoSection*, const Tempo& bpm); void gui_dilate_tempo (TempoSection* tempo, const framepos_t& frame, const framepos_t& end_frame, const double& pulse); |