summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-09-30 15:33:43 +0200
committerRobin Gareus <robin@gareus.org>2018-09-30 15:34:59 +0200
commit87559a6054ac097d1f511845965a9117ef2265d6 (patch)
tree61aa417df8025df224d237645607be0a1c682b54
parentcf652331ad868c9d939c4e9ae212aa293fc43a56 (diff)
Fix Mixbus master-bus tape-saturation controllable
-rw-r--r--libs/ardour/route.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 8b60d68632..b57002abab 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -5433,10 +5433,12 @@ boost::shared_ptr<AutomationControl>
Route::tape_drive_controllable () const
{
#ifdef MIXBUS
-
- if ( _ch_pre && (is_master() || mixbus()) ) {
+ if (_ch_pre && mixbus()) {
return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (_ch_pre->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 4)));
}
+ if (_ch_pre && is_master()) {
+ return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (_ch_pre->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 1)));
+ }
#endif
return boost::shared_ptr<AutomationControl>();