13
0

Remove cruft, there are no more diskstreams

This commit is contained in:
Robin Gareus 2021-01-29 01:52:08 +01:00
parent dcb27a844a
commit d42b09f1d3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
4 changed files with 1 additions and 40 deletions

View File

@ -389,14 +389,6 @@ MixerStrip::init ()
_width = (Width) -1;
/* start off as a passthru strip. we'll correct this, if necessary,
in update_diskstream_display().
*/
/* start off as a passthru strip. we'll correct this, if necessary,
in update_diskstream_display().
*/
if (is_midi_track()) {
set_name ("MidiTrackStripBase");
} else {
@ -765,7 +757,7 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt)
panners.hide_all ();
}
update_diskstream_display ();
route_color_changed ();
update_input_display ();
update_output_display ();
@ -893,7 +885,6 @@ MixerStrip::set_packed (bool yn)
set_gui_property ("visible", _packed);
}
struct RouteCompareByName {
bool operator() (boost::shared_ptr<Route> a, boost::shared_ptr<Route> b) {
return a->name().compare (b->name()) < 0;
@ -1198,16 +1189,6 @@ MixerStrip::maybe_add_bundle_to_output_menu (boost::shared_ptr<Bundle> b, ARDOUR
citems.push_back (MenuElemNoMnemonic (b->name (), sigc::bind (sigc::mem_fun(*this, &MixerStrip::bundle_output_chosen), b)));
}
void
MixerStrip::update_diskstream_display ()
{
if (is_track() && input_selector) {
input_selector->hide_all ();
}
route_color_changed ();
}
void
MixerStrip::connect_to_pan ()
{
@ -1581,12 +1562,6 @@ MixerStrip::fast_update ()
gpm.update_meters ();
}
void
MixerStrip::diskstream_changed ()
{
Gtkmm2ext::UI::instance()->call_slot (invalidator (*this), boost::bind (&MixerStrip::update_diskstream_display, this));
}
void
MixerStrip::io_changed_proxy ()
{

View File

@ -262,7 +262,6 @@ private:
void bundle_input_chosen (boost::shared_ptr<ARDOUR::Bundle>);
void bundle_output_chosen (boost::shared_ptr<ARDOUR::Bundle>);
void diskstream_changed ();
void io_changed_proxy ();
Gtk::Menu *send_action_menu;

View File

@ -343,18 +343,6 @@ StreamView::playlist_switched (boost::weak_ptr<Track> wtr)
}
void
StreamView::diskstream_changed ()
{
boost::shared_ptr<Track> t;
if ((t = _trackview.track()) != 0) {
Gtkmm2ext::UI::instance()->call_slot (invalidator (*this), boost::bind (&StreamView::display_track, this, t));
} else {
Gtkmm2ext::UI::instance()->call_slot (invalidator (*this), boost::bind (&StreamView::undisplay_track, this));
}
}
void
StreamView::apply_color (Gdk::Color const& c, ColorTarget target)
{

View File

@ -150,7 +150,6 @@ protected:
void display_track (boost::shared_ptr<ARDOUR::Track>);
virtual void undisplay_track ();
void diskstream_changed ();
void layer_regions ();
void playlist_switched (boost::weak_ptr<ARDOUR::Track>);