summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-06-23 21:29:39 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-06-23 21:29:39 +0000
commitf71a197270588153316322e87b3ba7b58da0d8f5 (patch)
tree01552be8d02988b4e57d6065aca65cc66de6ccda /libs/ardour/route.cc
parentd13fdaa9d19e0db68ddcc792c3c3bb8ff661a72e (diff)
save&restore gain levels; provide GUI control over relative route group bit; fix up solo/mute/recenable button naming as mixer strip width is set
git-svn-id: svn://localhost/ardour2/branches/3.0@5263 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 2dc9d13b86..e55ad3e425 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -262,7 +262,7 @@ Route::set_gain (gain_t val, void *src)
if (src != 0 && _route_group && src != _route_group && _route_group->active_property (RouteGroup::Gain)) {
if (_route_group->is_relative()) {
-
+
gain_t usable_gain = _amp->gain();
if (usable_gain < 0.000001f) {
usable_gain = 0.000001f;
@@ -1739,7 +1739,7 @@ Route::set_processor_state (const XMLNode& node)
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
XMLProperty* id_prop = (*niter)->property(X_("id"));
- cerr << "\tchecking " << id_prop->value() << endl;
+
if (id_prop && (*i)->id() == id_prop->value()) {
processorInStateList = true;
break;
@@ -1772,7 +1772,7 @@ Route::set_processor_state (const XMLNode& node)
while (o != _processors.end()) {
XMLProperty* id_prop = (*niter)->property(X_("id"));
if (id_prop && (*o)->id() == id_prop->value()) {
- break;
+ break;
}
++o;