[PD-dev] is there a way for an object to detect whethere its inlet is connected to something

Martin Peach martin.peach at sympatico.ca
Mon Dec 27 17:31:32 CET 2010


I suppose I am getting it wrong as usual but I thought signal objects 
only do computation when signals arrive  at the inlets.

Martin

On 2010-12-27 05:10, Ivica Ico Bukvic wrote:
> Hi all,
>
> I guess subject says it all. For the sake of efficiency I am hoping to
> detect whether an inlet is connected to anything and if so to perform
> its signal-based operations. Otherwise, it should remain dormant. Is
> there anything in the existing API that allows for this?
>
> Many thanks!
>
> Ico
>
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
>
>




More information about the Pd-dev mailing list