diff options
author | David Robillard <d@drobilla.net> | 2024-07-12 20:48:50 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-07-12 20:48:50 -0400 |
commit | 35b405b5e4bc01922861ef883c226f5de734082c (patch) | |
tree | 9efbef4ef653b35ad867fa54430d6f83266f2c05 /src | |
parent | 7582e28e2737a53bdf98cd7a897541e61bc1cac7 (diff) | |
download | jalv-35b405b5e4bc01922861ef883c226f5de734082c.tar.gz jalv-35b405b5e4bc01922861ef883c226f5de734082c.tar.bz2 jalv-35b405b5e4bc01922861ef883c226f5de734082c.zip |
Remove dead code
Diffstat (limited to 'src')
-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 |