From 5a413b8cd31006c8836bcc7409f7055c890f8a68 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 21 Oct 2011 23:30:39 +0000 Subject: Move uri() to CommonInterface. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3575 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/OSCEngineReceiver.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/server/OSCEngineReceiver.cpp b/src/server/OSCEngineReceiver.cpp index 6c462d7a..8451f4ee 100644 --- a/src/server/OSCEngineReceiver.cpp +++ b/src/server/OSCEngineReceiver.cpp @@ -15,8 +15,6 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -//#define ENABLE_AVAHI 1 - #include #include @@ -70,9 +68,6 @@ OSCEngineReceiver::OSCEngineReceiver(Engine& engine, snprintf(port_str, sizeof(port_str), "%u", port); _server = lo_server_new(port_str, error_cb); -#ifdef ENABLE_AVAHI - lo_server_avahi_init(_server, "ingen"); -#endif if (_server == NULL) { LOG(error) << "Could not start OSC server. Aborting." << endl; @@ -135,9 +130,6 @@ OSCEngineReceiver::~OSCEngineReceiver() delete _receive_thread; if (_server != NULL) { -#ifdef ENABLE_AVAHI - lo_server_avahi_free(_server); -#endif lo_server_free(_server); _server = NULL; } -- cgit v1.2.1