diff options
author | David Robillard <d@drobilla.net> | 2007-09-19 05:30:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-19 05:30:41 +0000 |
commit | 36b22fe2bea643d7d4ff69764016ae5be9c6de69 (patch) | |
tree | 19e99c3bfa011f8ef86ce1438b676d6826cad31a /src/libs/client/ThreadedSigClientInterface.hpp | |
parent | 80d9c348e1e571837ae37cd28d342c81c14a52be (diff) | |
download | ingen-36b22fe2bea643d7d4ff69764016ae5be9c6de69.tar.gz ingen-36b22fe2bea643d7d4ff69764016ae5be9c6de69.tar.bz2 ingen-36b22fe2bea643d7d4ff69764016ae5be9c6de69.zip |
Broadcast polyphony changes to clients.
Fix some (not all) crashes on polyphony change.
git-svn-id: http://svn.drobilla.net/lad/ingen@725 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/ThreadedSigClientInterface.hpp')
-rw-r--r-- | src/libs/client/ThreadedSigClientInterface.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/client/ThreadedSigClientInterface.hpp b/src/libs/client/ThreadedSigClientInterface.hpp index ed9f0ed4..71ee96d2 100644 --- a/src/libs/client/ThreadedSigClientInterface.hpp +++ b/src/libs/client/ThreadedSigClientInterface.hpp @@ -57,6 +57,7 @@ public: , connection_slot(connection_sig.make_slot()) , patch_enabled_slot(patch_enabled_sig.make_slot()) , patch_disabled_slot(patch_disabled_sig.make_slot()) + , patch_polyphony_slot(patch_polyphony_sig.make_slot()) , patch_cleared_slot(patch_cleared_sig.make_slot()) , object_destroyed_slot(object_destroyed_sig.make_slot()) , object_renamed_slot(object_renamed_sig.make_slot()) @@ -115,6 +116,9 @@ public: void patch_disabled(const string& path) { push_sig(sigc::bind(patch_disabled_slot, path)); } + + void patch_polyphony(const string& path, uint32_t poly) + { push_sig(sigc::bind(patch_polyphony_slot, path, poly)); } void patch_cleared(const string& path) { push_sig(sigc::bind(patch_cleared_slot, path)); } @@ -161,6 +165,7 @@ private: sigc::slot<void, string, string> connection_slot; sigc::slot<void, string> patch_enabled_slot; sigc::slot<void, string> patch_disabled_slot; + sigc::slot<void, string, uint32_t> patch_polyphony_slot; sigc::slot<void, string> patch_cleared_slot; sigc::slot<void, string> object_destroyed_slot; sigc::slot<void, string, string> object_renamed_slot; |