Thanks, I got all the info I need. Now I'm running into this strange error, by using the following line in the setup function:
``` var_io_snake_tilde_class = class_new(gensym("var_io_snake~"), (t_newmethod)var_io_snake_tilde_new, (t_method)var_io_snake_tilde_free, sizeof(t_var_io_snake_tilde), CLASS_MULTICHANNEL, A_DEFFLOAT, 0); ```
The error is the following:
``` var_io_snake~.c:85:82: error: ‘CLASS_MULTICHANNEL’ undeclared (first use in this function) 85 | (t_method)var_io_snake_tilde_free, sizeof(t_var_io_snake_tilde), CLASS_MULTICHANNEL, A_DEFFLOAT, 0);
```
I'm #including m_pd.h (I mean, it's finding the rest of the Pd API stuff I'm using there), and CLASS_MULTICHANNEL is in that file, so why do I get this error?
On 9/10/23 22:32, Alexandre Torres Porres wrote:
Em dom., 10 de set. de 2023 às 16:30, Alexandre Torres Porres porres@gmail.com escreveu:
check these objects, they perform simple tasks and maybe one of them helps you with what you want...
oops, I meant to send this image here...