diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-02-26 21:20:25 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-17 16:31:49 -0600 |
commit | a30ee6950dfc37b54bd1e235387fc4415cfb2fd4 (patch) | |
tree | 7f05f8b2f6bbdc7a5581dfd726adc9d78a7db079 /libs/ardour/enums.cc | |
parent | a4d7b45fe00996fd37a1af6d5be8c913a0b3bbf4 (diff) |
restore being able to load a 5.12 session with a destructive track.
Not all is working right yet, however
Diffstat (limited to 'libs/ardour/enums.cc')
-rw-r--r-- | libs/ardour/enums.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/enums.cc b/libs/ardour/enums.cc index 3b174cc7cb..3dc0d3122a 100644 --- a/libs/ardour/enums.cc +++ b/libs/ardour/enums.cc @@ -248,6 +248,10 @@ setup_enum_writer () REGISTER_ENUM (Normal); REGISTER_ENUM (NonLayered); + /* No longer used but we leave this here so that enumwriter can parse + * strings containing "Destructive" + */ + REGISTER_ENUM (Destructive); REGISTER (_TrackMode); REGISTER_ENUM (Sustained); @@ -519,6 +523,10 @@ setup_enum_writer () REGISTER_CLASS_ENUM (Source, RemovableIfEmpty); REGISTER_CLASS_ENUM (Source, RemoveAtDestroy); REGISTER_CLASS_ENUM (Source, NoPeakFile); + /* No longer used but we leave this here so that enumwriter can parse + * strings containing "Destructive" + */ + REGISTER_CLASS_ENUM (Source, Destructive); REGISTER_CLASS_ENUM (Source, Empty); REGISTER_BITS (_Source_Flag); |