summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-21 23:30:39 +0000
committerDavid Robillard <d@drobilla.net>2011-10-21 23:30:39 +0000
commit5a413b8cd31006c8836bcc7409f7055c890f8a68 (patch)
tree43add0ec00de9b323578d0f0c9ad0bd95011a74c /src/server
parentd7bc67f9752a90abf165c875839294befb42ef90 (diff)
downloadingen-5a413b8cd31006c8836bcc7409f7055c890f8a68.tar.gz
ingen-5a413b8cd31006c8836bcc7409f7055c890f8a68.tar.bz2
ingen-5a413b8cd31006c8836bcc7409f7055c890f8a68.zip
Move uri() to CommonInterface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3575 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/OSCEngineReceiver.cpp8
1 files changed, 0 insertions, 8 deletions
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 <stdlib.h>
#include <stdio.h>
@@ -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;
}