summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/surface_port.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-10-11 11:58:00 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-10-11 12:01:27 -0400
commitf8875df18fba0604ba54b51c7cc8d9ae87c55ce6 (patch)
treed76cdfec8f307a49cb24e624c23b830b0d7925c4 /libs/surfaces/mackie/surface_port.h
parent6faec91dd97d2b56552e4a3e99f36dca3388b70b (diff)
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.
Diffstat (limited to 'libs/surfaces/mackie/surface_port.h')
-rw-r--r--libs/surfaces/mackie/surface_port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/surface_port.h b/libs/surfaces/mackie/surface_port.h
index 9795a8d5cd..bdc089985d 100644
--- a/libs/surfaces/mackie/surface_port.h
+++ b/libs/surfaces/mackie/surface_port.h
@@ -68,6 +68,8 @@ class SurfacePort
std::string input_name() const;
std::string output_name() const;
+ void reconnect ();
+
XMLNode& get_state ();
int set_state (const XMLNode&, int version);