fix missing Click outputs for new sessions
[ardour.git] / libs / ardour / ardour / types.h
index 658c64788ec9eca3db8358b55bcf3aaea8e8672c..ee43d1f30f4b064016b33fa3dfcf4bb95edcf7bf 100644 (file)
@@ -489,7 +489,12 @@ namespace ARDOUR {
        };
 
        enum SyncSource {
-               Engine,
+               /* 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
@@ -610,16 +615,6 @@ namespace ARDOUR {
            uint32_t max; //< samples
        };
 
-/* PLATFORM SPECIFIC #ifdef's here */
-
-       /** Define the native thread type used on the platform */
-       typedef pthread_t AudioBackendNativeThread;
-       static inline bool self_thread_equal (AudioBackendNativeThread thr) {
-               return pthread_equal (thr, pthread_self());
-       }
-
-/* PLATFORM SPECIFIC #endif's here */
-
 } // namespace ARDOUR