[LAD] LV2 GUI - GTK widget signal disconnect

Aurélien Leblond blablack at gmail.com
Sat Jan 18 17:15:54 UTC 2014


I have a strange issue in my plugins GUI beatslash-lv2
(https://github.com/blablack/beatslash-lv2) or deteriorate-lv2

The GUI widgets to control the plugins gets disconnected when used for a while.
I can reproduce the issue in Ingen almost everytime, although I never
know exact when the GUI will disconnect and Ingen doesn't output any

What happens is that once the widgets disconnect, if I try to change
the values via the GUI (turn the dial, change the value of a combo
box, etc) the changes are not transferred to the LV2 DSP.

The way I connect the GUI values to the LV2 values is as follows:
(mem_fun(*this, &Vco2GUI::write_control), p_waveForm),
mem_fun(*m_comboWaveForm, &ComboBoxText::get_active_row_number)));

where m_comboWaveForm is of type Gtk::ComboBoxText*

Even if I close the GUI and reopen it, the signals won't reconnect.

I'm not sure where the issues is (GTK, LVTK.....or my code!).

Is there a better way to connect signals in such design?

Thanks in advance for the help.


More information about the Linux-audio-dev mailing list