From 7fa7df011158b85348ed4f2709f61db95f23de72 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 30 Jun 2020 23:25:41 +0200 Subject: [PATCH] Remove unused variable SoftwareMonitoring is handled by AudioTrack::get_input_monitoring_state --- libs/ardour/route.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index d716020309..3eac521d7e 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -6185,10 +6185,8 @@ Route::monitoring_state () const bool const track_rec = _disk_writer->record_enabled (); bool session_rec; - bool const software_monitor = Config->get_monitoring_model() == SoftwareMonitoring; bool const auto_input_does_talkback = Config->get_auto_input_does_talkback (); - /* I suspect that just use actively_recording() is good enough all the * time, but just to keep the semantics the same as they were before * sept 26th 2012, we differentiate between the cases where punch is