remove Region::add_cue_marker() (force use of Source API instead)
This commit is contained in:
parent
6dd516bc45
commit
7cf9e3d89d
@ -375,7 +375,6 @@ public:
|
||||
}
|
||||
|
||||
void get_cue_markers (CueMarkers&, bool abs = false) const;
|
||||
void add_cue_marker (std::string const &, samplepos_t pos);
|
||||
|
||||
protected:
|
||||
virtual XMLNode& state ();
|
||||
|
@ -1937,20 +1937,6 @@ Region::get_cue_markers (CueMarkers& cues, bool abs) const
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Region::add_cue_marker (std::string const & str, samplepos_t pos)
|
||||
{
|
||||
if (pos < _position || pos >= _position + _length) {
|
||||
return;
|
||||
}
|
||||
|
||||
CueMarker marker (str, pos - _start);
|
||||
|
||||
for (SourceList::iterator s = _sources.begin(); s != _sources.end(); ++s) {
|
||||
(*s)->add_cue_marker (marker);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Region::drop_sources ()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user