Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
9c6198c4
Commit
9c6198c4
authored
Sep 04, 2015
by
Jonathan Wilkes
Browse files
tof: add A_CANT to dsp method
parent
2cb935f3
Changes
4
Hide whitespace changes
Inline
Side-by-side
externals/tof/src/breakpoints~.c
View file @
9c6198c4
...
...
@@ -379,7 +379,7 @@ void breakpoints_tilde_setup(void)
CLASS_MAINSIGNALIN
(
breakpoints_class
,
t_breakpoints
,
x_f
);
/* here we tell Pd about the "dsp" method, which is called back
when DSP is turned on. */
class_addmethod
(
breakpoints_class
,
(
t_method
)
breakpointssig_dsp
,
gensym
(
"dsp"
),
0
);
class_addmethod
(
breakpoints_class
,
(
t_method
)
breakpointssig_dsp
,
gensym
(
"dsp"
),
A_CANT
,
0
);
//class_addcreator((t_newmethod)breakpoints_new,gensym("breakpoints~"),A_GIMME,0);
...
...
externals/tof/src/common~.c
View file @
9c6198c4
...
...
@@ -238,7 +238,7 @@ void common_tilde_setup(void) {
0
,
A_DEFSYM
,
0
);
class_addmethod
(
common_tilde_class
,
(
t_method
)
common_tilde_dsp
,
gensym
(
"dsp"
),
0
);
(
t_method
)
common_tilde_dsp
,
gensym
(
"dsp"
),
A_CANT
,
0
);
class_addmethod
(
common_tilde_class
,
(
t_method
)
common_tilde_set
,
gensym
(
"set"
),
A_SYMBOL
,
0
);
...
...
externals/tof/src/crossfade~.c
View file @
9c6198c4
...
...
@@ -145,7 +145,7 @@ static void *crossfade_tilde_new(t_floatarg f)
CLASS_MAINSIGNALIN
(
crossfade_tilde_class
,
t_crossfade_tilde
,
f
);
class_addmethod
(
crossfade_tilde_class
,
(
t_method
)
crossfade_tilde_dsp
,
gensym
(
"dsp"
),
0
);
(
t_method
)
crossfade_tilde_dsp
,
gensym
(
"dsp"
),
A_CANT
,
0
);
// class_addmethod(crossfade_tilde_class, nullfn, gensym("signal"), 0);
}
externals/tof/src/phasorshot~.c
View file @
9c6198c4
...
...
@@ -203,7 +203,7 @@ void phasorshot_free(t_phasorshot *x)
phasorshot_class
=
class_new
(
gensym
(
"phasorshot~"
),
(
t_newmethod
)
phasorshot_new
,
(
t_method
)
phasorshot_free
,
sizeof
(
t_phasorshot
),
0
,
A_GIMME
,
0
);
CLASS_MAINSIGNALIN
(
phasorshot_class
,
t_phasorshot
,
x_f
);
class_addmethod
(
phasorshot_class
,
(
t_method
)
phasorshot_dsp
,
gensym
(
"dsp"
),
0
);
class_addmethod
(
phasorshot_class
,
(
t_method
)
phasorshot_dsp
,
gensym
(
"dsp"
),
A_CANT
,
0
);
class_addmethod
(
phasorshot_class
,
(
t_method
)
phasorshot_ft1
,
gensym
(
"ft1"
),
A_FLOAT
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment