summaryrefslogtreecommitdiff
path: root/libs/ardour/route_controls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/route_controls.cc')
-rw-r--r--libs/ardour/route_controls.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/route_controls.cc b/libs/ardour/route_controls.cc
index 0e6edec758..5992014563 100644
--- a/libs/ardour/route_controls.cc
+++ b/libs/ardour/route_controls.cc
@@ -158,9 +158,13 @@ Route::SoloControllable::set_value_unchecked (double val)
double
Route::SoloControllable::get_value () const
{
+ std::cerr << "RSC get value\n";
+
if (slaved()) {
+ std::cerr << "slaved solo control, get master value ... ";
Glib::Threads::RWLock::ReaderLock lm (master_lock);
- return get_masters_value_locked () ? GAIN_COEFF_UNITY : GAIN_COEFF_ZERO;
+ double v = get_masters_value_locked () ? GAIN_COEFF_UNITY : GAIN_COEFF_ZERO;
+ std::cerr << v << std::endl;
}
if (_list && ((AutomationList*)_list.get())->automation_playback()) {
@@ -385,4 +389,3 @@ Route::SoloSafeControllable::get_value () const
return r->solo_safe() ? 1.0 : 0.0;
}
-