Hi,
I just tried to incorporate your fix into my VSTHost in attemtping to get a … guess what … Roland PlugIn (SH-101) to behave properly, but it failed miserably. The sequence
if (component->getState(&stream) == kResultTrue) {
stream.seek(0, Steinberg::IBStream::kIBSeekSet, nullptr);
component->setState(&stream);
leads to instant death in the PlugIn. With my normal sequence
if (!bSingleComponentEffect && /* only if proc & ctrl are separate! */
controller &&
(component->getState (&stream) == kResultTrue)) {
stream.seek(0, IBStream::kIBSeekSet, nullptr);
controller->setComponentState (&strm);
}
it works. So, greetings to Claude, but no. Not the solution to all things.
(My problem, BTW, is that I can’t get the SH-101 Arpeggiator to work and don’t know why, but that’s another story … and I just fixed it anyway
).