diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-05-18 13:20:07 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-05-18 13:20:07 +0000 |
commit | 69aef2cd91ff6cc5f0f633eb49ff71be920b7a4b (patch) | |
tree | 21ff99d3c9299862af856bde7c66d1da424e4516 /libs/surfaces/osc/interface.cc | |
parent | cb9686acdbd2990228fa4461270244cc78580bc4 (diff) |
moved OSC into libardour
git-svn-id: svn://localhost/trunk/ardour2@509 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/osc/interface.cc')
-rw-r--r-- | libs/surfaces/osc/interface.cc | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/libs/surfaces/osc/interface.cc b/libs/surfaces/osc/interface.cc deleted file mode 100644 index 3ec5a6571f..0000000000 --- a/libs/surfaces/osc/interface.cc +++ /dev/null @@ -1,44 +0,0 @@ -#include <ardour/control_protocol.h> - -#include "osc_server.h" - -using namespace ARDOUR; - -ControlProtocol* -new_osc_protocol (ControlProtocolDescriptor* descriptor, Session* s) -{ - ControlOSC* osc = new ControlOSC (*s, 3891); - - if (osc->set_active (true)) { - delete osc; - return 0; - } - - return osc; - -} - -void -delete_osc_protocol (ControlProtocolDescriptor* descriptor, ControlProtocol* cp) -{ - delete cp; -} - -static ControlProtocolDescriptor osc_descriptor = { - name : "OSC", - id : "uri://ardour.org/surfaces/osc:0", - ptr : 0, - module : 0, - initialize : new_osc_protocol, - destroy : delete_osc_protocol - -}; - - -extern "C" { -ControlProtocolDescriptor* -protocol_descriptor () { - return &osc_descriptor; -} -} - |