Backport some MB specifics (to avoid -Wmisleading-indentation)
authorRobin Gareus <robin@gareus.org>
Mon, 17 Apr 2017 18:23:07 +0000 (20:23 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 17 Apr 2017 18:23:07 +0000 (20:23 +0200)
libs/ardour/route.cc

index 043b11f33092a68ae408a58a99e6ca5c0d90afcd..42731d39f5c67621ade473f65a7e29086e2a782e 100644 (file)
@@ -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) {