[PD-dev] Only 1 Audio-inlet and GEM external
grhPD at gmx.at
Thu Dec 30 10:56:32 CET 2004
Hallo IOhannes, others!
I want to make a GEM object with 1 audio inlet and 1 audio outlet.
So I added in the setup callback:
class_addmethod(classPtr, nullfn, gensym("signal"), A_NULL);
If I make now the MAINSIGNALIN makro like in "normal" PD-externals I have 1
audio inlet, but it points to the data of the audio outlet !?
Okay, so I added
inlet_new(this->x_obj, &this->x_obj->ob_pd, &s_signal, &s_signal);
to the constructor and now it works, but now I have of course two inlets and
the left onw works how I want to have it.
So make question: is it also possible with only one audio-inlet. If yes,
what am I making wrong ?
PS: I attached the cpp file
+++ GMX - die erste Adresse für Mail, Message, More +++
1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7800 bytes
Desc: not available
More information about the Pd-dev