zamaudio / zam-plugins

Collection of LADSPA/LV2/VST/JACK audio plugins for high-quality processing
http://www.zamaudio.com/?p=976
GNU General Public License v2.0
267 stars 37 forks source link

In ZaMultiCompX2UI.cpp Missing DSP callback switch #31

Closed Stazed closed 9 years ago

Stazed commented 9 years ago

In ZaMultiCompX2UI.cpp the below function seems to be missing a switch call for the stereo/Max toggle. This causes the plugin to fail to load preset value on/off of the toggle on reload. I added the below case which seemed to fix the problem on my machine.

using latest git clone 7/21/15

// DSP Callbacks

//line 275

void ZaMultiCompX2UI::parameterChanged(uint32_t index, float value) { switch (index) { case ZaMultiCompX2Plugin::paramStereoDet: fToggleStereo->setValue(value); break; }

Thanks for all the great plugins!!

zamaudio commented 9 years ago

Thanks for pointing that out! Fixed in 922601d76b