oscil_attributes~/Source/oscil_attributes~max.c
t_max_err a_frequency_set(t_oscil_attributes *x, void *attr, long ac, t_atom *av)
{
    if (ac && av) {
        x->a_frequency = atom_getfloat(av);
        x->frequency = x->a_frequency;
    }

    return MAX_ERR_NONE;
}
/* The 'setter' and 'getter' methods for attributes ***************************/
The 'setter' and 'getter' methods for attributes
The ' setter ' and ' getter ' methods for attributes
t_max_err a_frequency_set(t_oscil_attributes *x, void *attr, long ac, t_atom *av)
{
    if (ac && av) {
        x->a_frequency = atom_getfloat(av);
        x->frequency = x->a_frequency;
    }
    return MAX_ERR_NONE;
}
t_max_err a_frequency_set ( t_oscil_attributes * x , void * attr , long ac , t_atom * av ) { if ( ac && av ) { x -> a_frequency = atom_getfloat ( av ) ; x -> frequency = x -> a_frequency ; } return MAX_ERR_NONE ; }
The 'setter' and 'getter' methods for attributes
The ' setter ' and ' getter ' methods for attributes