From 2aa4fc8599b5c2ae5ad45d604ab4b938bdb5bd65 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 11 Feb 2011 22:21:27 +0000 Subject: [PATCH] keep track of the solo mute gain control for MIDI binding etc. etc git-svn-id: svn://localhost/ardour2/branches/3.0@8829 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_state.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 17fedfb8a4..cb1394740c 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -274,6 +274,7 @@ Session::first_stage_init (string fullpath, string snapshot_name) _solo_cut_control.reset (new ProxyControllable (_("solo cut control (dB)"), PBD::Controllable::GainLike, boost::bind (&RCConfiguration::set_solo_mute_gain, Config, _1), boost::bind (&RCConfiguration::get_solo_mute_gain, Config))); + add_controllable (_solo_cut_control); _engine.GraphReordered.connect_same_thread (*this, boost::bind (&Session::graph_reordered, this));