X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpluginlv2.h;h=6f1e60096a94cbbbad1df6b8d84ab78394c18859;hb=2b629b290282c959d556dd8e37e25ba055691c8c;hp=075816a70173fa9fa7c1438499a58c512f3c87a1;hpb=eb7b1a0bb84ed4f40b651b74ff72e63b97cce1c2;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/pluginlv2.h b/cinelerra-5.1/cinelerra/pluginlv2.h index 075816a7..6f1e6009 100644 --- a/cinelerra-5.1/cinelerra/pluginlv2.h +++ b/cinelerra-5.1/cinelerra/pluginlv2.h @@ -90,7 +90,8 @@ public: LV2_Atom_Sequence seq_in[2]; LV2_Atom_Sequence *seq_out; float samplerate, refreshrate; - int block_length, midi_buf_size; + int min_block_length, block_length; + int midi_buf_size; LilvInstance *inst; SuilInstance *sinst; @@ -136,7 +137,7 @@ public: LV2_Worker_Schedule schedule; PluginLV2Work *work_avail, *work_input; PluginLV2Work *work_output, **work_tail; - pthread_mutex_t worker_lock; + pthread_mutex_t startup_lock, worker_lock; pthread_cond_t worker_ready; int worker_done; }; @@ -146,6 +147,7 @@ typedef struct { int sample_rate, bfrsz; char path[1]; } open_bfr_t; enum { NO_COMMAND, LV2_OPEN, LV2_LOAD, + LV2_CONFIG, LV2_UPDATE, LV2_SHOW, LV2_HIDE,