diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/types.h | 6 | ||||
-rw-r--r-- | libs/ardour/enums.cc | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index ca3f1acc19..526a71c58b 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -489,8 +489,12 @@ namespace ARDOUR { }; enum SyncSource { - Engine = 0, + /* These are "synonyms". It is important for JACK to be first + both here and in enums.cc, so that the string "JACK" is + correctly recognized in older session and preference files. + */ JACK = 0, + Engine = 0, MTC, MIDIClock, LTC diff --git a/libs/ardour/enums.cc b/libs/ardour/enums.cc index 3898a0e881..2a38cd2c8a 100644 --- a/libs/ardour/enums.cc +++ b/libs/ardour/enums.cc @@ -335,8 +335,8 @@ setup_enum_writer () REGISTER (_PluginType); REGISTER_ENUM (MTC); - REGISTER_ENUM (Engine); REGISTER_ENUM (JACK); + REGISTER_ENUM (Engine); REGISTER_ENUM (MIDIClock); REGISTER_ENUM (LTC); REGISTER (_SyncSource); |