13
0

Remove unused API

This commit is contained in:
Robin Gareus 2023-06-10 01:20:10 +02:00
parent 5965fd15e5
commit 4abdb09c00
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 0 additions and 19 deletions

View File

@ -104,8 +104,6 @@ class LIBARDOUR_API MidiRegion : public Region
void fix_negative_start ();
void clobber_sources (std::shared_ptr<MidiSource> source);
int render (Evoral::EventSink<samplepos_t>& dst,
uint32_t chan_n,
NoteMode mode,

View File

@ -439,23 +439,6 @@ MidiRegion::midi_source (uint32_t n) const
return std::dynamic_pointer_cast<MidiSource>(source(n));
}
/* don't use this. hopefully it will go away.
currently used by headless-chicken session utility.
*/
void
MidiRegion::clobber_sources (std::shared_ptr<MidiSource> s)
{
drop_sources();
_sources.push_back (s);
s->inc_use_count ();
_master_sources.push_back (s);
s->inc_use_count ();
s->DropReferences.connect_same_thread (*this, boost::bind (&Region::source_deleted, this, std::weak_ptr<Source>(s)));
}
void
MidiRegion::model_changed ()
{