use bitmask values for OverwriteReason, as was intended
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 10 Dec 2019 19:21:28 +0000 (12:21 -0700)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 10 Dec 2019 19:21:28 +0000 (12:21 -0700)
libs/ardour/ardour/types.h

index 26da1cf9e1a2b07ab11c7a459529dd6d74f8d8ea..c7453fcf1b5275a850616e4e8624285e9f71e3ae 100644 (file)
@@ -793,9 +793,10 @@ enum LoopFadeChoice {
 };
 
 enum OverwriteReason {
-       PlaylistModified,
-       LoopDisabled,
-       LoopChanged,
+       PlaylistChanged = 0x1,   // actual playlist was swapped/reset
+       PlaylistModified = 0x2,  // contents of playlist changed
+       LoopDisabled = 0x4,
+       LoopChanged = 0x8,
 };
 
 typedef std::vector<CaptureInfo*> CaptureInfos;