mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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
This commit is contained in:
parent
7a25fa1beb
commit
a46af0460b
12 changed files with 166 additions and 62 deletions
|
|
@ -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 ();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue