head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.46 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.44 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.42 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.40 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.38 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.36 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.34 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.32 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.30 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.28 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.26 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.24 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.22 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.20 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.18 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.16 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.14 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.12 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.10 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.8 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.6 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.4 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.10 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.8 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.6 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.4 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2004.11.28.17.09.13; author ben; state dead; branches; next 1.3; 1.3 date 2003.01.19.21.31.11; author hubertf; state Exp; branches; next 1.2; 1.2 date 2002.03.23.02.23.01; author wiz; state Exp; branches; next 1.1; 1.1 date 2001.04.27.17.17.17; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.04.27.17.17.17; author wiz; state Exp; branches; next ; desc @@ 1.4 log @Remove csound-bath to make way for csound4. @ text @$NetBSD: patch-ag,v 1.3 2003/01/19 21:31:11 hubertf Exp $ --- extract.c.orig Sun Nov 10 06:54:08 2002 +++ extract.c @@@@ -6,7 +6,7 @@@@ static char inslst[INSMAX]; /* values set by readxfil */ static int onsect, offsect; /* " " " */ static MYFLT onbeat, offbeat; /* " " " */ -static MYFLT ontime, offtime; /* set by readxfil, mod by w-stmnt */ +static MYFLT ontime, cs_offtime; /* set by readxfil, mod by w-stmnt */ static SRTBLK *frstout, *prvout; /* links for building new outlist */ @@@@ -59,7 +59,7 @@@@ for(ip = &inslst[0]; ip < &inslst[INSMAX]; *ip++ = 1); } ontime = a0.newp3 = a0.p3val = onbeat; - offtime = f0.newp2 = f0.p2val = offbeat; + cs_offtime = f0.newp2 = f0.p2val = offbeat; } void extract(void) /* extract instr events within the time period */ @@@@ -104,7 +104,7 @@@@ if (sectno == onsect && warped) ontime = a0.newp3 = realt(onbeat); if (sectno == offsect && warped) - offtime = f0.newp2 = realt(offbeat); + cs_offtime = f0.newp2 = realt(offbeat); include(bp); break; case 't': @@@@ -113,7 +113,7 @@@@ case 'f': casef: if (sectno == onsect && bp->newp2 < ontime) bp->newp2 = ontime; - else if (sectno == offsect && bp->newp2 > offtime) + else if (sectno == offsect && bp->newp2 > cs_offtime) break; if (sectno == onsect && !a0done) { if (onbeat > 0) @@@@ -140,10 +140,10 @@@@ } } if (sectno == offsect) { - if (bp->newp2 >= offtime) + if (bp->newp2 >= cs_offtime) break; - if (turnoff > offtime) { - bp->newp3 = offtime - bp->newp2; + if (turnoff > cs_offtime) { + bp->newp3 = cs_offtime - bp->newp2; bp->p3val = offbeat - bp->p2val; } } @ 1.3 log @Update csound-path to 4.23. No useful list of changes, feel free to look at the ChangeLog. Update submitted by collver1@@attbi.com in PR 19905 @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 4.18, provided by Ben Collver in pkg/14630. Changes are unknown. Package changes: * the c-preprocessor should now correctly chose whether to build big-endian or little-endian specific code * added support for NetBSD native audio API @ text @d3 1 a3 1 --- extract.c.orig Tue Nov 6 13:23:36 2001 d6 5 a10 5 static char inslst[INSMAX]; /* values set by readxfil */ static int onsect, offsect; /* " " " */ static MYFLT onbeat, offbeat; /* " " " */ -static MYFLT ontime, offtime; /* set by readxfil, mod by w-stmnt */ +static MYFLT ontime, cs_offtime; /* set by readxfil, mod by w-stmnt */ d12 1 a12 1 static SRTBLK *frstout, *prvout; /* links for building new outlist */ d14 6 a19 6 @@@@ -56,7 +56,7 @@@@ for(ip = &inslst[0]; ip < &inslst[INSMAX]; *ip++ = 1); } ontime = a0.newp3 = a0.p3val = onbeat; - offtime = f0.newp2 = f0.p2val = offbeat; + cs_offtime = f0.newp2 = f0.p2val = offbeat; d23 1 a23 1 @@@@ -101,7 +101,7 @@@@ d32 1 a32 1 @@@@ -110,7 +110,7 @@@@ d41 1 a41 1 @@@@ -137,10 +137,10 @@@@ @ 1.1 log @Initial revision @ text @d3 2 a4 2 --- extract.c.orig Sat Dec 16 21:46:53 2000 +++ extract.c Sat Dec 16 21:47:36 2000 d15 5 a19 5 for(ip = &inslst[0]; ip < &inslst[INSMAX]; *ip++ = 1); } ontime = a0.newp3 = a0.p3val = onbeat; - offtime = f0.newp2 = f0.p2val = offbeat; + cs_offtime = f0.newp2 = f0.p2val = offbeat; d22 1 a22 1 void extract(void) /* extract instr events within the time period */ d33 1 a33 1 case 'f': @ 1.1.1.1 log @Initial import of csound-bath, supplied by Ben Collver in pkg/11758. Similar to csound, but the 'original' bath version. @ text @@