diff options
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 25fba565aa..767f3a424d 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -319,6 +319,7 @@ Session::Session (AudioEngine &eng, , _vca_manager (new VCAManager (*this)) , _selection (new CoreSelection (*this)) , _global_locate_pending (false) + , _had_destructive_tracks (false) { created_with = string_compose ("%1 %2", PROGRAM_NAME, revision); @@ -7005,3 +7006,15 @@ Session::maybe_update_tempo_from_midiclock_tempo (float bpm) } } } + +void +Session::set_had_destructive_tracks (bool yn) +{ + _had_destructive_tracks = yn; +} + +bool +Session::had_destructive_tracks() const +{ + return _had_destructive_tracks; +} |