mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-14 12:30:01 +02:00
state changed is no longer needed
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
@@ -65,7 +65,6 @@ namespace NAM {
|
||||
uris.patch_property = map->map(map->handle, LV2_PATCH__property);
|
||||
uris.patch_value = map->map(map->handle, LV2_PATCH__value);
|
||||
uris.units_frame = map->map(map->handle, LV2_UNITS__frame);
|
||||
uris.state_StateChanged = map->map(map->handle, LV2_STATE__StateChanged);
|
||||
|
||||
uris.model_Path = map->map(map->handle, MODEL_URI);
|
||||
|
||||
@@ -171,7 +170,6 @@ namespace NAM {
|
||||
|
||||
// report change to host/ui
|
||||
nam->write_current_path();
|
||||
nam->write_state_changed();
|
||||
|
||||
return LV2_WORKER_SUCCESS;
|
||||
}
|
||||
@@ -416,16 +414,4 @@ namespace NAM {
|
||||
|
||||
lv2_atom_forge_pop(&atom_forge, &frame);
|
||||
}
|
||||
|
||||
void Plugin::write_state_changed()
|
||||
{
|
||||
LV2_Atom_Forge_Frame frame;
|
||||
|
||||
lv2_atom_forge_frame_time(&atom_forge, 0);
|
||||
lv2_atom_forge_object(&atom_forge, &frame, 0, uris.state_StateChanged);
|
||||
|
||||
/* object with no properties */
|
||||
|
||||
lv2_atom_forge_pop(&atom_forge, &frame);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user