diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index fdbc631dad..a6b29aac0f 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -3498,6 +3498,19 @@ Route::enable_monitor_send () configure_processors (0); } + +void +Route::remove_monitor_send () +{ + /* caller needs to hold process lock */ + if (!_monitor_send) { + return; + } + ProcessorStreams err; + remove_processor (_monitor_send, &err, false); + _monitor_send.reset (); +} + /** Add an aux send to a route. * @param route route to send to. * @param before Processor to insert before, or 0 to insert at the end. @@ -3585,18 +3598,6 @@ Route::add_foldback_send (std::shared_ptr route, bool post_fader) return 0; } -void -Route::remove_monitor_send () -{ - /* caller needs to hold process lock */ - if (!_monitor_send) { - return; - } - ProcessorStreams err; - remove_processor (_monitor_send, &err, false); - _monitor_send.reset (); -} - void Route::set_comment (string cmt, void *src) {