Tracks puts the master bus remote ID into a different "namespace" than Ardour
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 11 May 2015 21:43:16 +0000 (17:43 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:12 +0000 (14:18 -0400)
libs/ardour/session.cc

index ac3f05e323edc75f5ab1f1bc07da03f16c59f7b4..f1e3b19732afe3a3a9f9771c311938836980481b 100644 (file)
@@ -5997,6 +5997,12 @@ Session::next_control_id () const
                subtract++;
        }
 
+       /* the same about masterbus in Waves Tracks */
+
+       if (Profile->get_trx() && _master_out) {
+               subtract++;
+       }
+
        return nroutes() - subtract;
 }