Remove unused API
This commit is contained in:
parent
5965fd15e5
commit
4abdb09c00
@ -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,
|
||||
|
@ -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 ()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user