快速登录:  

Forum: VirtualDJ Plugins

话题: Using OnParameter function in Device plugins ?

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

pernPRO InfinityMember since 2004

Finally i now have some time to rewrite my DAC2 and DMC1 mappers with the new SDK.

I see that an OnParameter function is added in the default source code, how can this be used in a device mapper ?
 

发表时间 Mon 28 Jul 08 @ 1:30 pm
djcelPRO InfinityModeratorMember since 2004
When you define DeclareParameter() in the OnLoad function, you give an ID. Then this ID is sent to OnParameter when you use the Parameter defined

There is an example in the new plugins SDK Wizard
 

发表时间 Mon 28 Jul 08 @ 1:34 pm
pernPRO InfinityMember since 2004
I understand how it works, just thinking about what functionality to use it for.
 

发表时间 Mon 28 Jul 08 @ 1:35 pm
SBDJPRO Infinity Member since 2006
I use them in device mappers for things like having sliders for sensitivity for scratch, jog and bend. Other possibilities include switching between alternate mapping profiles, changing beat sensitivity for beat indicators and so forth...

Regards,

Scott
 

发表时间 Mon 28 Jul 08 @ 4:10 pm


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