Fully implement IAutomationState

This commit is contained in:
Robbert van der Helm
2021-01-10 23:38:40 +01:00
parent 609360537c
commit a2d1a97309
4 changed files with 10 additions and 4 deletions
+6
View File
@@ -39,6 +39,7 @@ InstanceInterfaces::InstanceInterfaces(
: object(object),
audio_presentation_latency(object),
audio_processor(object),
automation_state(object),
component(object),
connection_point(object),
edit_controller(object),
@@ -197,6 +198,11 @@ void Vst3Bridge::run() {
request.dir, request.bus_index,
request.latency_in_samples);
},
[&](YaAutomationState::SetAutomationState& request)
-> YaAutomationState::SetAutomationState::Response {
return object_instances[request.instance_id]
.automation_state->setAutomationState(request.state);
},
[&](YaConnectionPoint::Connect& request)
-> YaConnectionPoint::Connect::Response {
// If the host directly connected the underlying objects then we