From 70fe3489c52339e0f9b38241b1ebe56470b9b210 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 25 Oct 2015 18:16:15 +0000 Subject: Fix explicit sequence port monitoring Patch from Robin Gareus. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5786 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/PortImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index 89b99b4c..13eaa8e2 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -426,7 +426,7 @@ PortImpl::monitor(Context& context, bool send_now) const bool time_to_send = send_now || _frames_since_monitor >= period; const bool is_sequence = (_type.id() == PortType::ATOM && _buffer_type == _bufs.uris().atom_Sequence); - if (!time_to_send && (!is_sequence || _monitored || buffer(0)->value())) { + if (!time_to_send && !(is_sequence && _monitored) && (!is_sequence && buffer(0)->value())) { return; } -- cgit v1.2.1