mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Add an individual Editor::param_value_changed
This commit is contained in:
@@ -123,8 +123,15 @@ impl Editor for ViziaEditor {
|
||||
true
|
||||
}
|
||||
|
||||
fn param_values_changed(&self) {
|
||||
fn param_value_changed(&self, _id: &str, _normalized_value: f32) {
|
||||
// This will cause a future idle callback to send a parameters changed event.
|
||||
// NOTE: We could add an event containing the parameter's ID and the normalized value, but
|
||||
// these events aren't really necessary for Vizia.
|
||||
self.emit_parameters_changed_event
|
||||
.store(true, Ordering::Relaxed);
|
||||
}
|
||||
|
||||
fn param_values_changed(&self) {
|
||||
self.emit_parameters_changed_event
|
||||
.store(true, Ordering::Relaxed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user