From 649b9e92ffc399d4b1f6999e2e4f1f447af324ef Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 17 Apr 2017 20:23:07 +0200 Subject: [PATCH] Backport some MB specifics (to avoid -Wmisleading-indentation) --- libs/ardour/route.cc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 043b11f330..42731d39f5 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -3516,13 +3516,16 @@ Route::no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, return 0; } - if (n_outputs().n_total() == 0) { - return 0; - } + //MB has its own output path, regardless of physical outs + if (!Profile->get_mixbus()) { + if (n_outputs().n_total() == 0) { + return 0; + } - if (!_active || n_inputs() == ChanCount::ZERO) { - silence_unlocked (nframes); - return 0; + if (!_active || n_inputs() == ChanCount::ZERO) { + silence_unlocked (nframes); + return 0; + } } if (session_state_changing) {