summaryrefslogtreecommitdiff
path: root/gtk2_ardour/meterbridge.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-05 16:39:38 +0200
committerRobin Gareus <robin@gareus.org>2013-07-10 15:27:10 +0200
commit424d368614eda4b3c34d1a0962ef641d6850fb6d (patch)
tree866a7a1d7bad1ea47aed1dcc76159e1ba510fc87 /gtk2_ardour/meterbridge.cc
parentce016589422986aa1350f097d001a7206e8ae4f9 (diff)
shared peak-display reset in mixer+meterbridge
Diffstat (limited to 'gtk2_ardour/meterbridge.cc')
-rw-r--r--gtk2_ardour/meterbridge.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/gtk2_ardour/meterbridge.cc b/gtk2_ardour/meterbridge.cc
index 71fcddd6da..56a70a8d9a 100644
--- a/gtk2_ardour/meterbridge.cc
+++ b/gtk2_ardour/meterbridge.cc
@@ -155,8 +155,6 @@ Meterbridge::Meterbridge ()
signal_configure_event().connect (sigc::mem_fun (*ARDOUR_UI::instance(), &ARDOUR_UI::configure_handler));
Route::SyncOrderKeys.connect (*this, invalidator (*this), boost::bind (&Meterbridge::sync_order_keys, this, _1), gui_context());
MeterStrip::CatchDeletion.connect (*this, invalidator (*this), boost::bind (&Meterbridge::remove_strip, this, _1), gui_context());
- MeterStrip::ResetAllPeakDisplays.connect_same_thread (*this, boost::bind(&Meterbridge::reset_all_peaks, this));
- MeterStrip::ResetGroupPeakDisplays.connect_same_thread (*this, boost::bind (&Meterbridge::reset_group_peaks, this, _1));
MeterStrip::MetricChanged.connect_same_thread (*this, boost::bind(&Meterbridge::update_metrics, this));
/* work around ScrolledWindowViewport alignment mess Part one */
@@ -541,22 +539,6 @@ Meterbridge::update_metrics ()
}
void
-Meterbridge::reset_all_peaks ()
-{
- for (list<MeterStrip *>::iterator i = strips.begin(); i != strips.end(); ++i) {
- (*i)->reset_peak_display ();
- }
-}
-
-void
-Meterbridge::reset_group_peaks (RouteGroup* rg)
-{
- for (list<MeterStrip *>::iterator i = strips.begin(); i != strips.end(); ++i) {
- (*i)->reset_group_peak_display (rg);
- }
-}
-
-void
Meterbridge::sync_order_keys (RouteSortOrderKey src)
{
MeterOrderRouteSorter sorter;