fix bitslot already in use warning
authorRobin Gareus <robin@gareus.org>
Wed, 22 Jan 2014 12:06:58 +0000 (13:06 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 22 Jan 2014 12:06:58 +0000 (13:06 +0100)
commit06cc5e5240cc2bfeb4e22c742a5705566bd11dbe
tree6729edc1e019cf37243be380feb15b560066edc6
parentecc1599474fcf18a55fd603c6ee710c7dced272e
fix bitslot already in use warning

in e45151b89c64 route.cc was changed to create internal sends
directly with role = Delivery::Aux; and not Delivery::Role (0).
This change was motivated to initialize the panner for Aux-sends
in the Delivery.

Role(0) was used to override bitslot numbering during initial
construction of the object when the state is loaded from XML after
construction.

This patch adds an explicit flag for that.
(The previous Role(0) approach only worked for Aux-Sends
but not Sends, anyway.)
libs/ardour/ardour/internal_send.h
libs/ardour/ardour/send.h
libs/ardour/internal_send.cc
libs/ardour/route.cc
libs/ardour/send.cc