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);
}
}
-2
View File
@@ -80,7 +80,6 @@ namespace NAM {
void process(uint32_t n_samples) noexcept;
void write_current_path();
void write_state_changed();
static uint32_t options_get(LV2_Handle instance, LV2_Options_Option* options);
static uint32_t options_set(LV2_Handle instance, const LV2_Options_Option* options);
@@ -106,7 +105,6 @@ namespace NAM {
LV2_URID patch_Get;
LV2_URID patch_property;
LV2_URID patch_value;
LV2_URID state_StateChanged;
LV2_URID units_frame;
LV2_URID model_Path;
};