summaryrefslogtreecommitdiffstats
path: root/comms/gmfsk/files/patch-mt63_dsp.h
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-24 04:04:06 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-24 04:04:06 +0800
commit9d00b97ecc2428b4afbccc2641487e898e6d0a08 (patch)
tree5ffdb2c1160ee9d0b7c3ad2ac437d50933cf8076 /comms/gmfsk/files/patch-mt63_dsp.h
parent0ba202dc2eba45b2c3c024175ca709df6ab42170 (diff)
downloadmarcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.gz
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.bz2
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.lz
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.xz
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.tar.zst
marcuscom-ports-9d00b97ecc2428b4afbccc2641487e898e6d0a08.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9240 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'comms/gmfsk/files/patch-mt63_dsp.h')
-rw-r--r--comms/gmfsk/files/patch-mt63_dsp.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/comms/gmfsk/files/patch-mt63_dsp.h b/comms/gmfsk/files/patch-mt63_dsp.h
new file mode 100644
index 000000000..2fed48b35
--- /dev/null
+++ b/comms/gmfsk/files/patch-mt63_dsp.h
@@ -0,0 +1,21 @@
+--- src/mt63/dsp.h.orig Sat Sep 25 10:52:22 2004
++++ src/mt63/dsp.h Sat Sep 25 10:58:58 2004
+@@ -555,15 +555,15 @@
+ inline void LowPass2(typeInp Inp, LowPass2elem &Elem,
+ typeW W1, typeW W2, typeW W5)
+ { double Sum, Diff;
+- Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Out+=W5*Diff; }
++ Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Elem.Out+=W5*Diff; }
+
+ template <class typeInp>
+ inline void LowPass2(typeInp Inp, LowPass2elem &Elem, LowPass2weight &Weight)
+ { double Sum, Diff;
+ Sum=Elem.Mid+Elem.Out;
+ Diff=Elem.Mid-Elem.Out;
+- Elem.Mid+=Weight.W2*Inp-Weigth.W1*Sum;
+- Out+=Weight.W5*Diff; }
++ Elem.Mid+=Weight.W2*Inp-Weight.W1*Sum;
++ Elem.Out+=Weight.W5*Diff; }
+
+ /*
+ inline void LowPass2(float Inp, double &Mid, double &Out,