From 608aeac60ef43243b85c0dcc5894ccc79f35fba5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Oct 2007 19:02:02 +0000 Subject: Fix crash on OSC connection. Fix patch filename persistance. git-svn-id: http://svn.drobilla.net/lad/ingen@894 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/OSCClientReceiver.cpp | 2 +- src/libs/client/PatchModel.hpp | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src/libs/client') diff --git a/src/libs/client/OSCClientReceiver.cpp b/src/libs/client/OSCClientReceiver.cpp index 6de38da3..bd0b5db9 100644 --- a/src/libs/client/OSCClientReceiver.cpp +++ b/src/libs/client/OSCClientReceiver.cpp @@ -35,7 +35,7 @@ OSCClientReceiver::OSCClientReceiver(int listen_port) _listen_port(listen_port), _st(NULL) { - start(true); // true = dump, false = shutup + start(false); // true = dump, false = shutup } diff --git a/src/libs/client/PatchModel.hpp b/src/libs/client/PatchModel.hpp index 5d375faf..909b9e9e 100644 --- a/src/libs/client/PatchModel.hpp +++ b/src/libs/client/PatchModel.hpp @@ -48,10 +48,7 @@ public: SharedPtr get_connection(const string& src_port_path, const string& dst_port_path) const; - void set_filename(const string& filename) { _filename = filename; } - size_t poly() const { return _poly; } - const string& filename() const { return _filename; } bool enabled() const { return _enabled; } uint32_t internal_polyphony() const { return _poly; } bool polyphonic() const; @@ -86,7 +83,6 @@ private: { } - void filename(const string& f) { _filename = f; } void poly(size_t p) { _poly = p; signal_polyphony.emit(p); } void enable(); void disable(); @@ -98,7 +94,6 @@ private: void remove_connection(const string& src_port_path, const string& dst_port_path); Connections _connections; - string _filename; bool _enabled; uint32_t _poly; bool _editable; -- cgit v1.2.1