[PD] Strange behaviour when sending sinesum commands to arrays

Matt Barber brbrofsvl at gmail.com
Thu Oct 8 13:35:38 CEST 2015


In this case the array knows its size and sinesum always requests a size,
so those could be compared before running an actual resize.
On Oct 8, 2015 3:22 AM, "IOhannes m zmoelnig" <zmoelnig at iem.at> wrote:

> On 2015-10-08 02:01, Matt Barber wrote:
> > I can't think of a good solution just yet, aside from rewriting the
> g_array
> > functions to check to see if a resize is actually needed.
> >
>
> how would you do that?
> Pd does not provide an API to release an array from being used in DSP.
> so once an object (or somebody else) claims to use the object, you have
> no way to find out whether someone is actually using it (apart from
> vivisecting each object or using a plasma ball).
>
> a good start would be to add a garray_unusedindsp() function... ah no
> i've already written that [1].
>
> fgmasdr
> IOhannes
>
> [1] http://lists.puredata.info/pipermail/pd-list/2015-09/111520.html
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151008/65b48813/attachment.html>


More information about the Pd-list mailing list