state changed is no longer needed

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX
2023-06-15 19:13:55 +02:00
parent 27ac59f9b4
commit 739f43b151
2 changed files with 0 additions and 16 deletions
-14
View File
@@ -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);
}
}