Fix Mixbus master-bus tape-saturation controllable
[ardour.git] / libs / ardour / route.cc
index 8b60d68632eade3ef4eccb66678ce1b1960096db..b57002abab7df9fe60214b1ee18595207a0cee1e 100644 (file)
@@ -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>();