diff --git a/libs/ardour/ardour/source.h b/libs/ardour/ardour/source.h index f69f6bf740..b803e7a0d2 100644 --- a/libs/ardour/ardour/source.h +++ b/libs/ardour/ardour/source.h @@ -38,6 +38,7 @@ #include "ardour/ardour.h" #include "ardour/session_object.h" #include "ardour/data_type.h" +#include "ardour/segment_descriptor.h" namespace ARDOUR { @@ -145,6 +146,9 @@ public: void set_captured_for (std::string str) { _captured_for = str; } std::string captured_for() const { return _captured_for; } + SegmentDescriptor* get_segment_descriptor (TimelineRange const &); + int set_segment_descriptor (SegmentDescriptor const &); + protected: DataType _type; Flag _flags; @@ -161,6 +165,9 @@ public: XrunPositions _xruns; CueMarkers _cue_markers; + typedef std::vector SegmentDescriptors; + SegmentDescriptors segment_descriptors; + mutable Glib::Threads::Mutex _lock; mutable Glib::Threads::Mutex _analysis_lock; diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc index df4657f68c..57860b4776 100644 --- a/libs/ardour/source.cc +++ b/libs/ardour/source.cc @@ -514,3 +514,15 @@ Source::empty () const { return _length == timecnt_t(); } + +SegmentDescriptor* +Source::get_segment_descriptor (TimelineRange const & range) +{ + return 0; +} + +int +Source::set_segment_descriptor (SegmentDescriptor const & sr) +{ + return 0; +}