From ba9e6ab8691d2820d7c8ade0aeb85f3dbab0e19f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 20 Sep 2019 14:12:08 -0600 Subject: [PATCH] add const and tweak variable name --- libs/ardour/route.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 49d8172829..1829db9e9d 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -431,10 +431,10 @@ Route::process_output_buffers (BufferSet& bufs, * Also during remaining_latency_preroll, transport_rolling () is false, but * we may need to monitor disk instead. */ - MonitorState ms = monitoring_state (); - bool silence = _have_internal_generator ? false : (ms == MonitoringSilence); + const MonitorState ms = monitoring_state (); + const bool silent = _have_internal_generator ? false : (ms == MonitoringSilence); - _main_outs->no_outs_cuz_we_no_monitor (silence); + _main_outs->no_outs_cuz_we_no_monitor (silent); /* ------------------------------------------------------------------------------------------- DENORMAL CONTROL