FW: [PD] flext external problem

Frank Barknecht barknech at ph-cip.uni-koeln.de
Mon Mar 25 01:14:58 CET 2002


Hi Thomas,
Thomas Grill hat gesagt: // Thomas Grill wrote:

> Ooops, another thing: (sorry for spamming the list)
> 
> >Therefore (if your constructor and destructor do nothing) you should either
> >omit them (and use FLEXT_TILDE_NEW without a creation argument) or
> >implement them, by stating
> >        mydsp(float notused=0) {}
> >        ~mydsp() {}
> >at least.

Oh, yes, those were stupid errors. Back to "Learning C++ in 21 Days"...
 
> If you use 1 signal in and 1 out, your constructor has to look like
> 
> mydsp::mydsp(float notused=0) {
>     add_in_signal();  // audio in
>     add_out_signal();  // audio out
>     setup_inout();  // set up inlets and outlets
> }

Including the changes of your mailings I now get a new error:

error: Bad arguments for message 'mydsp~' to object 'objectmaker'
... you might be able to track this down from the Find menu.
 mydsp~
... couldn't create

But don't bother trying to figure out why, I'll just wait for flext 0.2
now.

Ciao,
-- 
                                                 __    __
 Frank Barknecht       ____ ______   ____ __ trip\ \  / /wire ______
                      / __// __  /__/ __// // __  \ \/ /  __ \\  ___\	
                     / /  / ____/  / /  / // ____// /\ \\  ___\\____ \	
                    /_/  /_____/  /_/  /_//_____// /  \ \\_____\\_____\
                                                /_/    \_\ 



More information about the Pd-list mailing list