head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.40 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.38 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.36 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.34 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.32 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.30 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.28 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.26 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.24 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.22 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.20 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.18 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.16 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.14 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.12 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.10 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.8 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.6 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.4 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.2 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.1.0.4 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.2 pkgsrc-2005Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2005.08.15.14.03.53; author wulf; state dead; branches; next 1.1; 1.1 date 2005.03.16.15.32.12; author rillig; state Exp; branches; next ; desc @@ 1.2 log @Updated linpsk to 0.8.1: * Improved RTTY decoder * Setting for slashed 0 now will be saved * Fixed some memory leakages * Removed dependancy on qwindowsstyle.h * Some minor bugfixes @ text @$NetBSD: patch-ah,v 1.1 2005/03/16 15:32:12 rillig Exp $ g++-2.95.3 does not know the min() and max() macros/functions. --- src/rtty2demodulator.cpp.orig Sun Jul 4 17:50:45 2004 +++ src/rtty2demodulator.cpp Wed Mar 16 03:34:16 2005 @@@@ -149,8 +149,8 @@@@ while ( actSample < NxSamples ) { j=(ThresholdPointer+i)%SampleBufferLength; float x=ThresholdBuffer[j]; - xmax=max(xmax,x); - xmin=min(xmin,x); + xmax= xmax > x ? xmax : x; + xmin= xmin < x ? xmin : x; } DiscriminatorThreshold=(xmax+xmin)/2.; @ 1.1 log @Added some patches for building on NetBSD-1.6.2 with gcc-2.95.3. Approved by wiz. @ text @d1 1 a1 1 $NetBSD$ @