diff options
author | nick_m <mainsbridge@gmail.com> | 2016-06-17 03:20:37 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-07-10 02:18:36 +1000 |
commit | 93c24e4433d69fe1de28d4d2ed2045aa7cb3596b (patch) | |
tree | 9cf3017f3075d57a1b7a3c5d9388b6554cbb0c7b /libs/ardour/ardour/region.h | |
parent | 94e0a15325278ec26dbeba4990a0e883db859338 (diff) |
Paste uses exact beats. rework _start_beats calculation in copy-with-offset ctor.
Diffstat (limited to 'libs/ardour/ardour/region.h')
-rw-r--r-- | libs/ardour/ardour/region.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h index ec4f559a87..7f41cb6e5a 100644 --- a/libs/ardour/ardour/region.h +++ b/libs/ardour/ardour/region.h @@ -171,10 +171,12 @@ class LIBARDOUR_API Region Trimmable::CanTrim can_trim () const; PositionLockStyle position_lock_style () const { return _position_lock_style; } - double beat () const { return _beat; } void set_position_lock_style (PositionLockStyle ps); void recompute_position_from_lock_style (const int32_t& sub_num); + double beat () const { return _beat; } + void set_beat (double beat) { _beat = beat; } + void suspend_property_changes (); bool covers (framepos_t frame) const { |