Add signals indicating last-capture-source changes
This commit is contained in:
@@ -432,6 +432,9 @@ public:
|
||||
|
||||
PBD::Signal<void()> UpdateRouteRecordState; /* signals potential change in route recording arming */
|
||||
|
||||
PBD::Signal<void()> RecordPassCompleted;
|
||||
PBD::Signal<void()> ClearedLastCaptureSources;
|
||||
|
||||
/* Emited when session is loaded */
|
||||
PBD::Signal<void()> SessionLoaded;
|
||||
|
||||
|
||||
@@ -4867,6 +4867,7 @@ Session::reset_last_capture_sources ()
|
||||
}
|
||||
tr->reset_last_capture_sources ();
|
||||
}
|
||||
ClearedLastCaptureSources (); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
/* Source Management */
|
||||
|
||||
@@ -1617,6 +1617,10 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished, bool will_
|
||||
}
|
||||
}
|
||||
|
||||
if (!abort && did_record) {
|
||||
RecordPassCompleted (); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
/* save the current state of things if appropriate */
|
||||
|
||||
if (did_record && !saved) {
|
||||
|
||||
Reference in New Issue
Block a user