source HAS-SOME SegmentDescriptors
This commit is contained in:
parent
25bd59958c
commit
1994935550
@ -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<SegmentDescriptor> SegmentDescriptors;
|
||||
SegmentDescriptors segment_descriptors;
|
||||
|
||||
mutable Glib::Threads::Mutex _lock;
|
||||
mutable Glib::Threads::Mutex _analysis_lock;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user