diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-10-13 08:36:43 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2019-08-01 12:11:31 -0500 |
commit | 949450bbb5a3185c51d7e2f9114c4e20fc3e1f10 (patch) | |
tree | 2905039944865e8bd090862f52e2bbdb76b967ba /libs/ardour/ardour/source.h | |
parent | afb987d69826aa5a46de8e31a67a2c5366fc7d64 (diff) |
(Source List) Take-ID: new (working) implementation.
Diffstat (limited to 'libs/ardour/ardour/source.h')
-rw-r--r-- | libs/ardour/ardour/source.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/source.h b/libs/ardour/ardour/source.h index 1e1fde2f89..e3a386b97a 100644 --- a/libs/ardour/ardour/source.h +++ b/libs/ardour/ardour/source.h @@ -68,6 +68,9 @@ public: virtual samplecnt_t length (samplepos_t pos) const = 0; virtual void update_length (samplecnt_t cnt) = 0; + void set_take_id (std::string id) { _take_id =id; } + const std::string& take_id () const { return _take_id; } + virtual samplepos_t natural_position() const { return 0; } void mark_for_remove(); @@ -120,6 +123,7 @@ protected: DataType _type; Flag _flags; time_t _timestamp; + std::string _take_id; samplepos_t _timeline_position; bool _analysed; @@ -131,6 +135,7 @@ protected: std::string _ancestor_name; private: + void fix_writable_flags (); }; |