Skip to content

Commit

Permalink
goto hoa.process~
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreguillot committed Sep 24, 2016
1 parent c60ea3c commit 3a75163
Show file tree
Hide file tree
Showing 7 changed files with 511 additions and 434 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ add_pd_external(hoa.out hoa.out ${hoa_pd_path}/common/hoa.out.c)
add_pd_external(hoa.in_tilde hoa.in~ ${hoa_pd_path}/common/hoa.in_tilde.c)
add_pd_external(hoa.out_tilde hoa.out~ ${hoa_pd_path}/common/hoa.out_tilde.c)
add_pd_external(hoa.thisprocess_tilde hoa.thisprocess~ ${hoa_pd_path}/common/hoa.thisprocess_tilde.c)
#file(GLOB hoa_pd_process_tilde_sources ${hoa_pd_path}/common/hoa.process_instance.c ${hoa_pd_path}/common/hoa.process_tilde.cpp)
#add_pd_external(hoa.process_tilde hoa.process~ "${hoa_pd_process_tilde_sources}")

# 2D Part
file(GLOB hoa_pd_2d_encoder_tilde_sources ${hoa_pd_sources} ${hoa_pd_path}/2d/hoa.2d.encoder_tilde.cpp)
Expand Down
6 changes: 3 additions & 3 deletions sources/common/hoa.in_tilde.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ static t_symbol* hoa_sym_extra;

static void *hoa_in_tilde_new(t_symbol *s, int argc, t_atom *argv)
{
t_hoa_in_tilde *x = (t_hoa_in_tilde *)pd_new(hoa_in_tilde_class);
t_hoa_io_tilde *x = (t_hoa_io_tilde *)pd_new(hoa_in_tilde_class);
if(x)
{
x->f_extra = 0;
Expand All @@ -38,7 +38,7 @@ static void *hoa_in_tilde_new(t_symbol *s, int argc, t_atom *argv)
return x;
}

static void hoa_in_tilde_dsp(t_hoa_in_tilde *x, t_signal **sp)
static void hoa_in_tilde_dsp(t_hoa_io_tilde *x, t_signal **sp)
{
if(x->f_signal)
{
Expand All @@ -53,7 +53,7 @@ static void hoa_in_tilde_dsp(t_hoa_in_tilde *x, t_signal **sp)
extern void setup_hoa0x2ein_tilde(void)
{
t_class* c = class_new(gensym("hoa.in~"), (t_newmethod)hoa_in_tilde_new, (t_method)NULL,
(size_t)sizeof(t_hoa_in_tilde), CLASS_NOINLET, A_GIMME, 0);
(size_t)sizeof(t_hoa_io_tilde), CLASS_NOINLET, A_GIMME, 0);

if(c)
{
Expand Down
6 changes: 3 additions & 3 deletions sources/common/hoa.out_tilde.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ static t_symbol* hoa_sym_extra;

static void *hoa_out_tilde_new(t_symbol *s, int argc, t_atom *argv)
{
t_hoa_out_tilde *x = (t_hoa_out_tilde *)pd_new(hoa_out_tilde_class);
t_hoa_io_tilde *x = (t_hoa_io_tilde *)pd_new(hoa_out_tilde_class);
if(x)
{
x->f_extra = 0;
Expand All @@ -37,7 +37,7 @@ static void *hoa_out_tilde_new(t_symbol *s, int argc, t_atom *argv)
return x;
}

static void hoa_out_tilde_dsp(t_hoa_out_tilde *x, t_signal **sp)
static void hoa_out_tilde_dsp(t_hoa_io_tilde *x, t_signal **sp)
{
if(x->f_signal)
{
Expand All @@ -48,7 +48,7 @@ static void hoa_out_tilde_dsp(t_hoa_out_tilde *x, t_signal **sp)
extern void setup_hoa0x2eout_tilde(void)
{
t_class* c = class_new(gensym("hoa.out~"), (t_newmethod)hoa_out_tilde_new, (t_method)NULL,
(size_t)sizeof(t_hoa_out_tilde), CLASS_DEFAULT, A_GIMME, 0);
(size_t)sizeof(t_hoa_io_tilde), CLASS_DEFAULT, A_GIMME, 0);

if(c)
{
Expand Down
Loading

0 comments on commit 3a75163

Please sign in to comment.