Skip to content

Commit

Permalink
[de]activate plugins for buffer size changes
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Sep 28, 2024
1 parent e97a5ed commit f923f14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/effects.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,11 @@ static int BufferSize(jack_nframes_t nframes, void* data)
options[4].type = 0;
options[4].value = NULL;

lilv_instance_deactivate(effect->lilv_instance);

effect->options_interface->set(effect->lilv_instance->lv2_handle, options);

lilv_instance_activate(effect->lilv_instance);
}
}
#ifdef HAVE_HYLIA
Expand Down

0 comments on commit f923f14

Please sign in to comment.