From c0f7b4f8b3ee388a6c9ec235655cc4c3fe0a3142 Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Fri, 27 Dec 2019 15:55:00 +0100 Subject: [PATCH] Enable manual reloading of an sfz file --- lv2/sfizz.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lv2/sfizz.c b/lv2/sfizz.c index d5b15fe6..5a585120 100644 --- a/lv2/sfizz.c +++ b/lv2/sfizz.c @@ -466,8 +466,7 @@ sfizz_lv2_handle_atom_object(sfizz_plugin_t *self, const LV2_Atom_Object *obj) // If the parameter is different from the current one we send it through // TODO: this check could happen on the worker side self->changing_state = true; - if (strcmp(self->sfz_file_path, LV2_ATOM_BODY_CONST(sfz_file_path))) - self->worker->schedule_work(self->worker->handle, null_terminated_atom_size, sfz_file_path); + self->worker->schedule_work(self->worker->handle, null_terminated_atom_size, sfz_file_path); } else {