[PD] flext external problem
Frank Barknecht
fbar at footils.org
Tue Mar 18 22:24:05 CET 2003
Hallo,
TimBlechmann at gmx.net hat gesagt: // TimBlechmann at gmx.net wrote:
> thanks for your message, i used FLEXT_NEW_DSP_1 since i need a creation
> argument.
> i had the problem with both ~ and _tilde...
>
> i've attached the code, it would be very nice if you have a look at it.
> thanks..
>
> class tbroute_tilde: public flext_dsp
> {
> FLEXT_HEADER(tbroute_tilde,flext_dsp);
>
> public: // constructor
> tbroute_tilde(int chan);
>
> protected:
> virtual void route (int n, float *const *in, float *const *out);
> void set_route(int i);
>
> private:
> FLEXT_CALLBACK_1(set_route,t_int);
> t_int dest;
> int chan;
> };
>
>
> FLEXT_NEW_DSP_1("tbroute~",tbroute_tilde,int);
Your class needs to have the same name (without the ~) as the
external. So renaming "class tbroute_tilde" => "class tbroute" should
fix it.
ciao
--
Frank Barknecht _ ______footils.org__
More information about the Pd-list
mailing list