diff options
author | David Robillard <d@drobilla.net> | 2024-12-19 21:30:59 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-12-19 21:30:59 -0500 |
commit | efad9a58a085a87157e7b9e56739b64acf958bfd (patch) | |
tree | 0132f319b3d2727864c9d088763aca58af812395 /src/jalv.c | |
parent | b1c955b1e0e3ae6b4b0c74112ae68a2966a92d35 (diff) | |
download | jalv-efad9a58a085a87157e7b9e56739b64acf958bfd.tar.gz jalv-efad9a58a085a87157e7b9e56739b64acf958bfd.tar.bz2 jalv-efad9a58a085a87157e7b9e56739b64acf958bfd.zip |
Send events instead of writing to control port buffers in UI
Diffstat (limited to 'src/jalv.c')
-rw-r--r-- | src/jalv.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -326,7 +326,8 @@ jalv_set_control(Jalv* jalv, const void* body) { if (control->type == PORT && type == jalv->forge.Float) { - jalv->process.controls_buf[control->index] = *(const float*)body; + const float value = *(const float*)body; + jalv_write_control(jalv->process.ui_to_plugin, control->index, value); } else if (control->type == PROPERTY && jalv->process.control_in != UINT32_MAX) { LV2_Atom_Forge_Frame frame; |