just return an empty buffer if the port read fails
git-svn-id: svn://localhost/ardour2/trunk@1565 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user