remove Region::add_cue_marker() (force use of Source API instead)

This commit is contained in:
Paul Davis 2021-05-14 11:25:45 -06:00
parent 6dd516bc45
commit 7cf9e3d89d
2 changed files with 0 additions and 15 deletions

View File

@ -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 ();

View File

@ -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 ()
{