X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fsurfaces%2Fmackie%2Finterface.cc;h=1a9760bcbea7461428a9ffccc5d7869a2ef3c2a8;hb=2f86d1b7dd6b0caf33c8f9879b3d8fe2d324629f;hp=abef84817d4cbf58e48023cd6f5bacc8044b4fd5;hpb=848e75aaeaa04a81883ed30bcd04abd862f9d1fd;p=ardour.git diff --git a/libs/surfaces/mackie/interface.cc b/libs/surfaces/mackie/interface.cc index abef84817d..1a9760bcbe 100644 --- a/libs/surfaces/mackie/interface.cc +++ b/libs/surfaces/mackie/interface.cc @@ -28,12 +28,14 @@ using namespace ARDOUR; using namespace PBD; using namespace std; +using namespace ArdourSurface; +using namespace Mackie; static ControlProtocol* new_mackie_protocol (ControlProtocolDescriptor*, Session* s) { MackieControlProtocol* mcp = 0; - + try { mcp = new MackieControlProtocol (*s); /* do not set active here - wait for set_state() */ @@ -43,7 +45,7 @@ new_mackie_protocol (ControlProtocolDescriptor*, Session* s) delete mcp; mcp = 0; } - + return mcp; } @@ -88,6 +90,6 @@ static ControlProtocolDescriptor mackie_descriptor = { /*initialize : */ new_mackie_protocol, /*destroy : */ delete_mackie_protocol }; - + extern "C" ARDOURSURFACE_API ControlProtocolDescriptor* protocol_descriptor () { return &mackie_descriptor; }