diff options
-rw-r--r-- | src/jalv.c | 3 | ||||
-rw-r--r-- | src/jalv_internal.h | 3 |
2 files changed, 1 insertions, 5 deletions
@@ -1153,8 +1153,6 @@ jalv_open(Jalv* const jalv, int* argc, char*** argv) // Set up atom reading and writing environment jalv->sratom = sratom_new(&jalv->map); sratom_set_env(jalv->sratom, jalv->env); - jalv->ui_sratom = sratom_new(&jalv->map); - sratom_set_env(jalv->ui_sratom, jalv->env); // Create temporary directory for plugin state #ifdef _WIN32 @@ -1470,7 +1468,6 @@ jalv_close(Jalv* const jalv) free(jalv->controls.controls); sratom_free(jalv->sratom); - sratom_free(jalv->ui_sratom); serd_env_free(jalv->env); lilv_uis_free(jalv->uis); lilv_world_free(jalv->world); diff --git a/src/jalv_internal.h b/src/jalv_internal.h index 01d4c86..f550f35 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -71,7 +71,6 @@ struct JalvImpl { LV2_URID_Unmap unmap; ///< Int => URI map SerdEnv* env; ///< Environment for RDF printing Sratom* sratom; ///< Atom serialiser - Sratom* ui_sratom; ///< Atom serialiser for UI thread Symap* symap; ///< URI map ZixSem symap_lock; ///< Lock for URI map JalvBackend* backend; ///< Audio system backend @@ -102,7 +101,7 @@ struct JalvImpl { uint32_t block_length; ///< Audio buffer size (block length) size_t midi_buf_size; ///< Size of MIDI port buffers uint32_t control_in; ///< Index of control input port - uint32_t num_ports; ///< Size of the two following arrays: + uint32_t num_ports; ///< Total number of ports on the plugin uint32_t plugin_latency; ///< Latency reported by plugin (if any) float ui_update_hz; ///< Frequency of UI updates float ui_scale_factor; ///< UI scale factor |