[PD] segfault with dynamic loading of abstractions
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Sep 30 09:49:45 CEST 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090930/6e3476eb/attachment.bin>
More information about the Pd-list
mailing list