diff options
author | 2005-03-07 06:12:36 +0000 | |
---|---|---|
committer | 2005-03-07 06:12:36 +0000 | |
commit | ce2f19c093284da8b9a05ae3e0261dc537cbee2f (patch) | |
tree | e8a595b230222517f18b2123dc003ed2661aec85 /media-radio/gmfsk/files | |
parent | Added threading support. (diff) | |
download | gentoo-2-ce2f19c093284da8b9a05ae3e0261dc537cbee2f.tar.gz gentoo-2-ce2f19c093284da8b9a05ae3e0261dc537cbee2f.tar.bz2 gentoo-2-ce2f19c093284da8b9a05ae3e0261dc537cbee2f.zip |
add patch from Sen. Santofimia, fix QA warn on 0.6.ebuild
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-radio/gmfsk/files')
-rw-r--r-- | media-radio/gmfsk/files/digest-gmfsk-0.6-r1 | 1 | ||||
-rw-r--r-- | media-radio/gmfsk/files/gmfsk-patch-mt63_dsp.h | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/media-radio/gmfsk/files/digest-gmfsk-0.6-r1 b/media-radio/gmfsk/files/digest-gmfsk-0.6-r1 new file mode 100644 index 000000000000..3e5fe16eed08 --- /dev/null +++ b/media-radio/gmfsk/files/digest-gmfsk-0.6-r1 @@ -0,0 +1 @@ +MD5 184840b31b85f6c4f86cdbe27f0644c8 gmfsk-0.6.tar.gz 540765 diff --git a/media-radio/gmfsk/files/gmfsk-patch-mt63_dsp.h b/media-radio/gmfsk/files/gmfsk-patch-mt63_dsp.h new file mode 100644 index 000000000000..2fed48b35150 --- /dev/null +++ b/media-radio/gmfsk/files/gmfsk-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, |