aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2005-05-02 14:48:25 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:11:59 +0200
commite50bf5fa3c18516c4bbebb0149cdee83d2c8ae57 (patch)
tree5241ad87cd2ed61e602edda8636007df78f25559
parent26404fcb66045f5b08923d9be037fbd3f6f22ebf (diff)
fixed compiling failure ...
added support for flext build system ... thnx thomas svn path=/trunk/externals/tb/; revision=2881
-rw-r--r--sc4pd/package.txt24
-rw-r--r--sc4pd/source/support.cpp8
-rw-r--r--sc4pd/source/support.hpp8
3 files changed, 32 insertions, 8 deletions
diff --git a/sc4pd/package.txt b/sc4pd/package.txt
new file mode 100644
index 0000000..c366fee
--- /dev/null
+++ b/sc4pd/package.txt
@@ -0,0 +1,24 @@
+NAME=sc4pd
+
+SRCDIR=source
+
+SRCS=main.cpp Dust.cpp MantissaMask.cpp Hasher.cpp Median.cpp \
+ BrownNoise.cpp ClipNoise.cpp GrayNoise.cpp WhiteNoise.cpp \
+ PinkNoise.cpp Dust2.cpp Crackle.cpp Rand.cpp TRand.cpp TExpRand.cpp \
+ IRand.cpp TIRand.cpp CoinGate.cpp support.cpp LinRand.cpp NRand.cpp\
+ ExpRand.cpp LFClipNoise.cpp LFNoise0.cpp LFNoise1.cpp LFNoise2.cpp \
+ Logistic.cpp Latoocarfian.cpp LinCong.cpp amclip.cpp scaleneg.cpp \
+ excess.cpp hypot.cpp ring1.cpp ring2.cpp ring3.cpp ring4.cpp \
+ difsqr.cpp sumsqr.cpp sqrdif.cpp sqrsum.cpp absdif.cpp LFSaw.cpp \
+ LFPulse.cpp Impulse.cpp Integrator.cpp Decay.cpp Decay2.cpp Lag.cpp \
+ Lag2.cpp Lag3.cpp LinExp.cpp DelayUnit.cpp DelayN.cpp DelayL.cpp \
+ DelayC.cpp CombN.cpp CombL.cpp CombC.cpp AllpassN.cpp AllpassL.cpp \
+ AllpassC.cpp PitchShift.cpp Resonz.cpp OnePole.cpp OneZero.cpp \
+ TwoPole.cpp TwoZero.cpp FOS.cpp SOS.cpp RLPF.cpp RHPF.cpp LPF.cpp \
+ HPF.cpp BPF.cpp BRF.cpp LPZ1.cpp HPZ1.cpp LPZ2.cpp HPZ2.cpp \
+ BPZ2.cpp BRZ2.cpp LFDNoise0.cpp LFDNoise1.cpp LFDNoise2.cpp \
+ sc+.cpp sc-.cpp scmul.cpp scdiv.cpp Convolution.cpp
+
+HDRS=DelayUnit.hpp fftlib.h sc4pd.hpp support.hpp
+
+INCPATH=-I./headers/plugin_interface -I./headers/common -I./headers/server \ No newline at end of file
diff --git a/sc4pd/source/support.cpp b/sc4pd/source/support.cpp
index 69aaf2b..e753056 100644
--- a/sc4pd/source/support.cpp
+++ b/sc4pd/source/support.cpp
@@ -39,7 +39,7 @@
#include <flsupport.h>
-bool sc_add (flext::AtomList a)
+bool sc_add (flext::AtomList& a)
{
for (int i = 0; i!=a.Count();++i)
{
@@ -54,7 +54,7 @@ bool sc_add (flext::AtomList a)
return false;
}
-float sc_getfloatarg (flext::AtomList a,int i)
+float sc_getfloatarg (flext::AtomList& a,int i)
{
if (a.Count() > 0 && a.Count() > i)
return flext::GetAFloat(a[i]);
@@ -62,7 +62,7 @@ float sc_getfloatarg (flext::AtomList a,int i)
return 0;
}
-bool sc_ar(flext::AtomList a)
+bool sc_ar(flext::AtomList& a)
{
for (int i = 0; i!=a.Count();++i)
{
@@ -77,7 +77,7 @@ bool sc_ar(flext::AtomList a)
return false;
}
-bool sc_inv(flext::AtomList a)
+bool sc_inv(flext::AtomList& a)
{
for (int i = 0; i!=a.Count();++i)
{
diff --git a/sc4pd/source/support.hpp b/sc4pd/source/support.hpp
index c9cedae..12885cb 100644
--- a/sc4pd/source/support.hpp
+++ b/sc4pd/source/support.hpp
@@ -47,10 +47,10 @@
/* for argument parsing */
-bool sc_add (flext::AtomList a);
-float sc_getfloatarg (flext::AtomList a,int i);
-bool sc_ar(flext::AtomList a);
-bool sc_inv(flext::AtomList a);
+bool sc_add (flext::AtomList& a);
+float sc_getfloatarg (flext::AtomList& a,int i);
+bool sc_ar(flext::AtomList& a);
+bool sc_inv(flext::AtomList& a);
/* for rngs */