diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-01 09:30:08 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-01 10:10:50 -0600 |
commit | 195fe0f71204a86b90e69067c3460f9ad5d68f83 (patch) | |
tree | 768190da0324f6e7d53d5ce3d2de1e3bfd4dc6e2 /libs/ardour/ardour/location.h | |
parent | 98884e9736062b267ee7b7c99aa1c970f56fab6b (diff) |
add method to check for xrun status of a marker
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r-- | libs/ardour/ardour/location.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index 3d42cc8b38..9c1edaa119 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -61,6 +61,7 @@ public: IsSkip = 0x80, IsSkipping = 0x100, /* skipping is active (or not) */ IsClockOrigin = 0x200, + IsXrun = 0x400, }; Location (Session &); @@ -108,6 +109,7 @@ public: bool is_skip() const { return _flags & IsSkip; } bool is_clock_origin() const { return _flags & IsClockOrigin; } bool is_skipping() const { return (_flags & IsSkip) && (_flags & IsSkipping); } + bool is_xrun() const { return _flags & IsXrun; } bool matches (Flags f) const { return _flags & f; } Flags flags () const { return _flags; } |