[PD] libpd: Is there a way to check, whether a patch is opened in pd::PdBase or not?

Matti Viljamaa mviljamaa at kapsi.fi
Sun Feb 21 14:21:22 CET 2016

It seems to me that libpd crashes if one closes a patch (PdBase::closePatch(patch)) and then something (such as a constantly running “processBlock” -loop) calls PdBase::processFloat (or any of the other process-functions).

Therefore, is there a built-in way to check whether the patch is loaded or not, that is, whether libpd can process audio or not?

More information about the Pd-list mailing list