diff options
author | David Robillard <d@drobilla.net> | 2014-02-01 01:04:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-02-01 01:04:32 +0000 |
commit | 494a80be70da3ffd68418c7b8c5ffdd4d3d7d070 (patch) | |
tree | 60c1ef2298ca0e0aebc6138f568ba9a3debdd0ce /src | |
parent | a80964a77a5622c00aa89dfdbdeebee3d202abe3 (diff) | |
download | ingen-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
Diffstat (limited to 'src')
-rw-r--r-- | src/server/PortImpl.cpp | 4 |
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; } |