aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-25 09:03:55 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-25 09:03:55 +0000
commit977c177a6f57fe7450c896b8950625d412d90b58 (patch)
tree404068e285e4a04aecc9b222e143febb020d1a1c
parent3e8a7b9f63c1ce1cf72760b0d5c4a17983435322 (diff)
indentation for better readabilityHEADsvn2git-headexternals/fftw
svn path=/trunk/externals/fftw/; revision=6017
-rw-r--r--fftw~.c7
-rw-r--r--ifftw~.c6
-rw-r--r--rfftw~.c6
-rw-r--r--rifftw~.c7
4 files changed, 16 insertions, 10 deletions
diff --git a/fftw~.c b/fftw~.c
index bde1a20..15dab10 100644
--- a/fftw~.c
+++ b/fftw~.c
@@ -53,9 +53,10 @@ static void sigfftw_dsp(t_sigfftw *x, t_signal **sp)
x->dim.n=n;
x->dim.is=1;
x->dim.os=1;
- x->plan = fftwf_plan_guru_split_dft(1, &(x->dim), 0, NULL,
- in1, in2, out1, out2,
- FFTW_ESTIMATE);
+ x->plan = fftwf_plan_guru_split_dft(1, &(x->dim), 0,
+ NULL,
+ in1, in2, out1, out2,
+ FFTW_ESTIMATE);
dsp_add(sigfftw_perform, 1, &x->plan);
}
diff --git a/ifftw~.c b/ifftw~.c
index 4818875..e16a633 100644
--- a/ifftw~.c
+++ b/ifftw~.c
@@ -53,8 +53,10 @@ static void sigifftw_dsp(t_sigifftw *x, t_signal **sp)
x->dim.n=n;
x->dim.is=1;
x->dim.os=1;
- x->plan = fftwf_plan_guru_split_dft(1, &(x->dim), 0, NULL, in2,
- in1, out2, out1, FFTW_ESTIMATE);
+ x->plan = fftwf_plan_guru_split_dft(1, &(x->dim), 0,
+ NULL,
+ in2, in1, out2, out1,
+ FFTW_ESTIMATE);
dsp_add(sigifftw_perform, 1, &x->plan);
}
diff --git a/rfftw~.c b/rfftw~.c
index 36fa923..5258c3b 100644
--- a/rfftw~.c
+++ b/rfftw~.c
@@ -60,8 +60,10 @@ static void sigrfftw_dsp(t_sigrfftw *x, t_signal **sp)
x->dim.n=n;
x->dim.is=1;
x->dim.os=1;
- x->plan = fftwf_plan_guru_split_dft_r2c(1, &(x->dim), 0, NULL,
- in, out1, out2, FFTW_ESTIMATE | FFTW_PRESERVE_INPUT);
+ x->plan = fftwf_plan_guru_split_dft_r2c(1, &(x->dim), 0,
+ NULL,
+ in, out1, out2,
+ FFTW_ESTIMATE | FFTW_PRESERVE_INPUT);
dsp_add(sigrfftw_perform,3,&x->plan,out2+1,n2-1);
}
diff --git a/rifftw~.c b/rifftw~.c
index 106db4e..4f45514 100644
--- a/rifftw~.c
+++ b/rifftw~.c
@@ -39,7 +39,6 @@ static t_int *sigrifftw_perform(t_int *w)
{
fftw_siginvert((t_sample *)w[2],w[3]);
fftwf_execute(*(fftwf_plan*)w[1]);
-
return (w+4);
}
@@ -61,8 +60,10 @@ static void sigrifftw_dsp(t_sigrifftw *x, t_signal **sp)
x->dim.n=n;
x->dim.is=1;
x->dim.os=1;
- x->plan = fftwf_plan_guru_split_dft_c2r(1, &(x->dim), 0, NULL,
- in1, in2, out, FFTW_ESTIMATE | FFTW_PRESERVE_INPUT);
+ x->plan = fftwf_plan_guru_split_dft_c2r(1, &(x->dim), 0,
+ NULL,
+ in1, in2, out,
+ FFTW_ESTIMATE | FFTW_PRESERVE_INPUT);
dsp_add_zero(in1+ n/2, n/2);
dsp_add(sigrifftw_perform,3,&x->plan,in2,n2);
}