diff options
author | Robin Gareus <robin@gareus.org> | 2018-09-30 15:33:43 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-09-30 15:34:59 +0200 |
commit | 87559a6054ac097d1f511845965a9117ef2265d6 (patch) | |
tree | 61aa417df8025df224d237645607be0a1c682b54 | |
parent | cf652331ad868c9d939c4e9ae212aa293fc43a56 (diff) |
Fix Mixbus master-bus tape-saturation controllable
-rw-r--r-- | libs/ardour/route.cc | 6 |
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>(); |