From 4ac6485c6082cbcced70b43f4f1ed694b0fd0de7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 2 Apr 2024 18:12:25 -0600 Subject: [PATCH] NO-OP: move Route::remove_monitor_send() to be near ::enable_monitor_send() --- libs/ardour/route.cc | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) 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) {