13
0

NO-OP: move Route::remove_monitor_send() to be near ::enable_monitor_send()

This commit is contained in:
Paul Davis 2024-04-02 18:12:25 -06:00
parent b49f486766
commit 4ac6485c60

View File

@ -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> 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)
{