Skip to content

Commit ecb61fc

Browse files
committed
Don't send Start/EndParameterChange events to plugins
1 parent 60fe046 commit ecb61fc

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

  • plinth-plugin/src/formats/standalone

plinth-plugin/src/formats/standalone/host.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,9 @@ impl Host for StandaloneHost {
3030
false
3131
}
3232

33-
fn start_parameter_change(&self, id: ParameterId) {
34-
let _ = self.to_plugin_sender.send(Event::StartParameterChange { id });
35-
}
36-
3733
fn change_parameter_value(&self, id: ParameterId, normalized: ParameterValue) {
38-
self.parameter_event_map.change_parameter_value(id, normalized);
34+
self.parameter_event_map
35+
.change_parameter_value(id, normalized);
3936

4037
let _ = self.to_plugin_sender.send(Event::ParameterValue {
4138
sample_offset: 0,
@@ -44,9 +41,8 @@ impl Host for StandaloneHost {
4441
});
4542
}
4643

47-
fn end_parameter_change(&self, id: ParameterId) {
48-
let _ = self.to_plugin_sender.send(Event::EndParameterChange { id });
49-
}
44+
fn start_parameter_change(&self, _id: ParameterId) {}
45+
fn end_parameter_change(&self, _id: ParameterId) {}
5046

5147
fn reload_parameters(&self) {}
5248

0 commit comments

Comments
 (0)