summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Anderson <ardour@semiosix.com>2007-03-09 11:23:39 +0000
committerJohn Anderson <ardour@semiosix.com>2007-03-09 11:23:39 +0000
commita48a83ae5a017d103d9a410d8f63beb0ae918247 (patch)
tree2dfb4c03d7808546bc8d340076f792bf938a6d2c
parent355c078023fb10078e24ac171e99125c02e08fad (diff)
just return an empty buffer if the port read fails
git-svn-id: svn://localhost/ardour2/trunk@1565 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/surfaces/mackie/surface_port.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaces/mackie/surface_port.cc b/libs/surfaces/mackie/surface_port.cc
index 0cbfa23cae..24aa2296d8 100644
--- a/libs/surfaces/mackie/surface_port.cc
+++ b/libs/surfaces/mackie/surface_port.cc
@@ -62,8 +62,8 @@ MidiByteArray SurfacePort::read()
ostringstream os;
os << "error reading from port: " << port().name() << " nread: " << nread;
cout << os.str() << endl;
- inactive_event();
- throw MackieControlException( os.str() );
+ //inactive_event();
+ //throw MackieControlException( os.str() );
}
return retval;
}