Pass through host provided IBStream objects

So if the host supports IStreamAttributes, we can also provide objects
that support the same itnerface to the plugin.
This commit is contained in:
Robbert van der Helm
2021-01-10 16:57:36 +01:00
parent 9b603a964c
commit 8971a65825
9 changed files with 65 additions and 50 deletions
@@ -96,11 +96,13 @@ class YaXmlRepresentationController
native_size_t instance_id;
Steinberg::Vst::RepresentationInfo info;
YaBStream stream;
template <typename S>
void serialize(S& s) {
s.value8b(instance_id);
s.object(info);
s.object(stream);
}
};