Enable manual reloading of an sfz file
This commit is contained in:
parent
ca29ca7164
commit
c0f7b4f8b3
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
// If the parameter is different from the current one we send it through
|
||||||
// TODO: this check could happen on the worker side
|
// TODO: this check could happen on the worker side
|
||||||
self->changing_state = true;
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue