Orm Finnendahl wrote:
Hi all,
When dsp is turned on all the time during this, sometimes, audio generated in the synth voices isn't appearing at the outlets (it seems the audio isn't integrated into the dsp path at all). All the created objects and their connections are visible in the gui. Turning dsp off and on makes it work, but trying to automatize it leads to the segfaults from time to time.
have you looked at:
EXTERN int canvas_suspend_dsp(void); EXTERN void canvas_resume_dsp(int oldstate);
something like:
<snip> int oldstate=canvas_suspend_dsp(); /* your creation code here */ canvas_resume_dsp(oldstate); </snip>
fmasdr IOhannes