projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97f0415
)
operate directly on realtime controls, not via Session
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 4 Jul 2016 13:26:48 +0000
(09:26 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 4 Jul 2016 13:27:33 +0000
(09:27 -0400)
libs/surfaces/faderport/operations.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/faderport/operations.cc
b/libs/surfaces/faderport/operations.cc
index 6e59964905fa8031b6a5f0164aedbcc1101def38..ce6bb3e3d2e7e4fbdaa5f607db15adf2c743219f 100644
(file)
--- a/
libs/surfaces/faderport/operations.cc
+++ b/
libs/surfaces/faderport/operations.cc
@@
-130,9
+130,7
@@
FaderPort::mute ()
return;
}
return;
}
- boost::shared_ptr<ControlList> cl (new ControlList);
- cl->push_back (_current_stripable->mute_control());
- session->set_controls (cl, !_current_stripable->mute_control()->muted(), PBD::Controllable::UseGroup);
+ _current_stripable->mute_control()->set_value (!_current_stripable->mute_control()->muted(), PBD::Controllable::UseGroup);
}
void
}
void
@@
-142,7
+140,7
@@
FaderPort::solo ()
return;
}
return;
}
- _current_stripable->solo_control()->set_value (_current_stripable->solo_control()->soloed()
? 0.0 : 1.0
, PBD::Controllable::UseGroup);
+ _current_stripable->solo_control()->set_value (_current_stripable->solo_control()->soloed(), PBD::Controllable::UseGroup);
}
void
}
void