Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
using namespace ARDOUR;
|
||||
|
||||
ControlProtocol*
|
||||
static ControlProtocol*
|
||||
new_osc_protocol (ControlProtocolDescriptor* /*descriptor*/, Session* s)
|
||||
{
|
||||
OSC* osc = new OSC (*s, Config->get_osc_port());
|
||||
@@ -33,13 +33,13 @@ new_osc_protocol (ControlProtocolDescriptor* /*descriptor*/, Session* s)
|
||||
return osc;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
delete_osc_protocol (ControlProtocolDescriptor* /*descriptor*/, ControlProtocol* cp)
|
||||
{
|
||||
delete cp;
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
probe_osc_protocol (ControlProtocolDescriptor* /*descriptor*/)
|
||||
{
|
||||
return true; // we can always do OSC
|
||||
@@ -57,10 +57,5 @@ static ControlProtocolDescriptor osc_descriptor = {
|
||||
destroy : delete_osc_protocol
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
ControlProtocolDescriptor*
|
||||
protocol_descriptor () {
|
||||
return &osc_descriptor;
|
||||
}
|
||||
}
|
||||
extern "C" LIBCONTROLCP_API ControlProtocolDescriptor* protocol_descriptor () { return &osc_descriptor; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user