[PD-dev] problem with inlet and outlets

IOhannes m zmoelnig zmoelnig at iem.at
Fri Jun 25 09:58:58 CEST 2004


Olaf Matthes wrote:
> Hi Pontus,
> 
> Pd uses the same portion of memory to store the incoming and outgoing 
> audio data. 
this is not necessarily true.
but it might be (pd's scheduler decides depending on the wiring context 
of the object)


> To get silence you have to set the buffer to zero (0.) after 
> you read in the incoming data.

this is basically true. (you can try and check whether the input- and 
output- buffer are the same (pointer comparision) and optimize accordingly.

but i think it is good practise to assume the worst (e.g: that they are 
the same when you don't want them to be the same and that they are not 
when you do)


mfg.a.sdr
IOhannes




More information about the Pd-dev mailing list