diff options
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/session.h | 7 | ||||
-rw-r--r-- | libs/ardour/ardour/session_event.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index f9172c5d6c..49ee8cbb7d 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -998,6 +998,10 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop void maybe_update_session_range (framepos_t, framepos_t); + void request_preroll_record (framepos_t); + framepos_t preroll_record_in () const { return _preroll_record_in; } + bool preroll_record_enabled () const { return _preroll_record_in >= 0; } + /* temporary hacks to allow selection to be pushed from GUI into backend. Whenever we move the selection object into libardour, these will go away. */ @@ -1915,6 +1919,9 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop Evoral::Range<framepos_t> _range_selection; Evoral::Range<framepos_t> _object_selection; + void unset_preroll_record (); + framepos_t _preroll_record_in; + /* main outs */ uint32_t main_outs; diff --git a/libs/ardour/ardour/session_event.h b/libs/ardour/ardour/session_event.h index 8bb160b90e..fe109a21f8 100644 --- a/libs/ardour/ardour/session_event.h +++ b/libs/ardour/ardour/session_event.h @@ -47,6 +47,7 @@ public: SetLoop, PunchIn, PunchOut, + RecordStart, RangeStop, RangeLocate, Overwrite, |