Several changes to Mackie support. Breaks existing Mackie state on disk but not
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 11 Oct 2015 15:58:00 +0000 (11:58 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 11 Oct 2015 16:01:27 +0000 (12:01 -0400)
commitf8875df18fba0604ba54b51c7cc8d9ae87c55ce6
treed76cdfec8f307a49cb24e624c23b830b0d7925c4
parent6faec91dd97d2b56552e4a3e99f36dca3388b70b
Several changes to Mackie support. Breaks existing Mackie state on disk but not
in any way that causes problems, just loss of pre-existing connectivity.

1. retain state of current device (and serialize to disk) when switching
devices, and restore that state when switching back to it.
2. fix port and surfacenaming.
3. fix bundle assembly so that all ports (for multi-surface combos) work.
4. rationalize master position numbering
5. add small sleep before starting device handshake after reconnection. This
is ugly but seems to be necessary, unfortunately.
libs/surfaces/mackie/mackie_control_protocol.cc
libs/surfaces/mackie/mackie_control_protocol.h
libs/surfaces/mackie/surface.cc
libs/surfaces/mackie/surface_port.cc
libs/surfaces/mackie/surface_port.h