diff options
author | David Robillard <d@drobilla.net> | 2007-10-21 19:02:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-21 19:02:02 +0000 |
commit | 608aeac60ef43243b85c0dcc5894ccc79f35fba5 (patch) | |
tree | b9cbd2f0594602a8d927fa486e7682daf0b92fc3 /src/libs/client | |
parent | 89a9cdf0ab581a4cff5cf8fd859d714a90bb8998 (diff) | |
download | ingen-608aeac60ef43243b85c0dcc5894ccc79f35fba5.tar.gz ingen-608aeac60ef43243b85c0dcc5894ccc79f35fba5.tar.bz2 ingen-608aeac60ef43243b85c0dcc5894ccc79f35fba5.zip |
Fix crash on OSC connection.
Fix patch filename persistance.
git-svn-id: http://svn.drobilla.net/lad/ingen@894 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client')
-rw-r--r-- | src/libs/client/OSCClientReceiver.cpp | 2 | ||||
-rw-r--r-- | src/libs/client/PatchModel.hpp | 5 |
2 files changed, 1 insertions, 6 deletions
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<ConnectionModel> 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; |