COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-25-2019, 01:10 PM   #1
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 222
Default How to update a parameter from Process()?

I would like to export the gain value from a gate plugin so a host can record it as automation data (as a control signal for other tracks, plugins, etc).

1) I have added a parameter to the plugin parameter enum list called "ksidechainsig"

2) I have set up a parameter in the constructor like this: GetParam(ksidechainsig)->InitDouble("Gate signal", 0.5, 0.0, 1.0, .01, "");

3) And I output a data point once per Process call using this: InformHostOfParamChange(ksidechainsig, gategain);


This approach is working great on most hosts but crashes Cakewalk/SONAR. The plugin passes a signal when idle but crashes with "stack overflow" the instant PLAY is initiated (please see attached screenshot from debugger). If I comment out "InformHostOfParamChange()" the plugin works perfectly otherwise.

What is causing this - and why only in Cakewalk? Is it a bug in MY code or in Cakewalk?
Attached Files
File Type: pdf CbB crash.pdf (32.9 KB, 25 views)

Last edited by Nonlinear; 03-25-2019 at 03:00 PM.
Nonlinear is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:25 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.