diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 4636d7957c..df708bbd30 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -5428,9 +5428,9 @@ Route::tape_drive_controllable () const if ( _ch_pre && (is_master() || mixbus()) ) { return boost::dynamic_pointer_cast (_ch_pre->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 4))); } +#endif return boost::shared_ptr(); -#endif } string