summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-14 21:51:47 -0400
committerDavid Robillard <d@drobilla.net>2016-10-14 21:51:47 -0400
commit557f33ef287b69d6b4e8b9b9dc85c1c4a2eb19a4 (patch)
tree2dcb7e5c23391e4acd2b3df8f6a3bb6f92b091f2 /src
parent1eccad7a9361a2e98d0b7178f8ee655610802630 (diff)
downloadingen-557f33ef287b69d6b4e8b9b9dc85c1c4a2eb19a4.tar.gz
ingen-557f33ef287b69d6b4e8b9b9dc85c1c4a2eb19a4.tar.bz2
ingen-557f33ef287b69d6b4e8b9b9dc85c1c4a2eb19a4.zip
Preserve bundles over atom transport
Diffstat (limited to 'src')
-rw-r--r--src/AtomReader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp
index f77d8d76..4d112327 100644
--- a/src/AtomReader.cpp
+++ b/src/AtomReader.cpp
@@ -342,6 +342,10 @@ AtomReader::write(const LV2_Atom* msg, int32_t default_id)
_iface.response(((const LV2_Atom_Int*)seq)->body,
(Ingen::Status)((const LV2_Atom_Int*)body)->body,
subject_uri ? subject_uri->c_str() : "");
+ } else if (obj->body.otype == _uris.ingen_BundleStart) {
+ _iface.bundle_begin();
+ } else if (obj->body.otype == _uris.ingen_BundleEnd) {
+ _iface.bundle_end();
} else {
_log.warn(fmt("Unknown object type <%1%>\n")
% _map.unmap_uri(obj->body.otype));