Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: resetFXOnLoad check state from C++

This topic is old and might contain outdated or incorrect information.

@kradcliffe brought up a very important point about resetFXOnLoad disables audio effect during the loading of a new song. Is there any C++ code to check the state of a VirtualDJ option like that and continuing on that point can it be set true or false manually from C++?
 

Posted Sat 25 Mar 17 @ 1:33 am
OK I got it :)

OnStart()

double resetFX;
GetInfo("setting resetFXOnLoad", &resetFX);
SendCommand("setting resetFXOnLoad off");


OnStop()

if(resetFX>0)
SendCommand("setting resetFXOnLoad on");

 

Posted Sat 25 Mar 17 @ 1:57 am
Ok my solution using a technique like this was not recommended. Probably in the fact that there might still a group of users that would not like any plugin to touch this setting even if it's turned back to the original state.
 

Posted Mon 27 Mar 17 @ 4:31 pm
PachNPRO InfinityMember since 2009
Can't you create a popup or even simpler a label in you GUI to tell the user he has to disable the setting first to get the plugin working properly?
Just display the message if the setting is enabled.
 

Posted Tue 28 Mar 17 @ 7:58 am
Haha true true, love ideas. For now though without taking all the time to modify the GUI, it turns out the effect does work in the Master Effect channel with that setting "resetFXOnLoad" active or inactive. Thanks.
 

Posted Tue 28 Mar 17 @ 3:32 pm


(Old topics and forums are automatically closed)