summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-02-01 01:04:32 +0000
committerDavid Robillard <d@drobilla.net>2014-02-01 01:04:32 +0000
commit494a80be70da3ffd68418c7b8c5ffdd4d3d7d070 (patch)
tree60c1ef2298ca0e0aebc6138f568ba9a3debdd0ce
parenta80964a77a5622c00aa89dfdbdeebee3d202abe3 (diff)
downloadingen-494a80be70da3ffd68418c7b8c5ffdd4d3d7d070.tar.gz
ingen-494a80be70da3ffd68418c7b8c5ffdd4d3d7d070.tar.bz2
ingen-494a80be70da3ffd68418c7b8c5ffdd4d3d7d070.zip
Always monitor sequence ports that are explicitly monitored.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5328 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/server/PortImpl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index aed67ec3..c9afd307 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -380,7 +380,9 @@ PortImpl::monitor(Context& context, bool send_now)
_frames_since_monitor += context.nframes();
const bool time_to_send = send_now || _frames_since_monitor >= period;
- if (!time_to_send) {
+ const bool is_sequence = (_type.id() == PortType::ATOM &&
+ _buffer_type == _bufs.uris().atom_Sequence);
+ if (!time_to_send && !(is_sequence && _monitored)) {
return;
}