From 36b22fe2bea643d7d4ff69764016ae5be9c6de69 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 19 Sep 2007 05:30:41 +0000 Subject: 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 --- src/libs/engine/ClientBroadcaster.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/libs/engine/ClientBroadcaster.cpp') diff --git a/src/libs/engine/ClientBroadcaster.cpp b/src/libs/engine/ClientBroadcaster.cpp index 5023b2e0..0a98c05c 100644 --- a/src/libs/engine/ClientBroadcaster.cpp +++ b/src/libs/engine/ClientBroadcaster.cpp @@ -229,6 +229,14 @@ ClientBroadcaster::send_patch_disable(const string& patch_path) } +void +ClientBroadcaster::send_patch_polyphony(const string& patch_path, uint32_t poly) +{ + for (Clients::const_iterator i = _clients.begin(); i != _clients.end(); ++i) + (*i).second->patch_polyphony(patch_path, poly); +} + + /** Send notification of a metadata update. * * Like control changes, does not send update to client that set the metadata, if applicable. -- cgit v1.2.1