diff options
author | Carl Hetherington <carl@carlh.net> | 2010-11-14 15:01:53 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-11-14 15:01:53 +0000 |
commit | a46af0460b0fdcc145c4dd282fa4fe071d4971fc (patch) | |
tree | 81a1a2f4c779958df0f19d976e6cfd003afea5eb /gtk2_ardour/streamview.h | |
parent | 7a25fa1beb76b7148d4f96de5629d8b639aac9e7 (diff) |
Create a new layer if required on record to a track in stacked mode. Fixes #3391.
git-svn-id: svn://localhost/ardour2/branches/3.0@8026 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/streamview.h')
-rw-r--r-- | gtk2_ardour/streamview.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h index c29c206470..366bc8d4bf 100644 --- a/gtk2_ardour/streamview.h +++ b/gtk2_ardour/streamview.h @@ -113,6 +113,8 @@ public: return 0; } + void check_record_layers (boost::shared_ptr<ARDOUR::Region>, ARDOUR::framepos_t); + sigc::signal<void,RegionView*> RegionViewAdded; protected: @@ -171,6 +173,12 @@ protected: PBD::ScopedConnectionList rec_data_ready_connections; nframes_t last_rec_data_frame; + /* When recording, the session time at which a new layer must be created for the region + being recorded, or max_framepos if not applicable. + */ + framepos_t _new_rec_layer_time; + void setup_new_rec_layer_time (boost::shared_ptr<ARDOUR::Region>); + private: void update_coverage_frames (); }; |