diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-06-04 02:38:08 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-06-04 02:38:08 +0000 |
commit | a6d4aa2bcc49633db1d8464f7727cb73e2c0d052 (patch) | |
tree | dd3bc68f69d188f32d18022cf5d773a8f201079e /externals/grill/xsample/source/main.h | |
parent | 3fb9132261bbc69087161c0f80a3be10a60f07a9 (diff) |
""
svn path=/trunk/; revision=681
Diffstat (limited to 'externals/grill/xsample/source/main.h')
-rw-r--r-- | externals/grill/xsample/source/main.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/externals/grill/xsample/source/main.h b/externals/grill/xsample/source/main.h index bfbebfe2..2968624e 100644 --- a/externals/grill/xsample/source/main.h +++ b/externals/grill/xsample/source/main.h @@ -19,8 +19,8 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include <flext.h> -#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 402) -#error You need at least flext version 0.4.2 +#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 500) +#error You need at least flext version 0.5.0 #endif @@ -127,10 +127,10 @@ protected: inline F scale(F smp) const { return (smp-sclmin)*sclmul; } - static V arrscale(I n,const S *in,S *out,S add,S mul); + static V arrscale(I n,const S *in,S *out,S add,S mul) { flext::ScaleSamples(out,in,mul,add,n); } inline V arrscale(I n,const S *in,S *out) const { arrscale(n,in,out,(S)-sclmin,sclmul); } - static V arrmul(I n,const S *in,S *out,S mul); + static V arrmul(I n,const S *in,S *out,S mul) { flext::MulSamples(out,in,mul,n); } inline V arrmul(I n,const S *in,S *out) const { arrmul(n,in,out,(S)(1./s2u)); } BL bufchk(); |