快速登录:  

Forum: VirtualDJ Plugins

话题: resetFXOnLoad check state from C++

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

@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++?
 

发表时间 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");

 

发表时间 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.
 

发表时间 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.
 

发表时间 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.
 

发表时间 Tue 28 Mar 17 @ 3:32 pm


(陈旧帖子或论坛版块会自动关闭)