aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample/source/main.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-06-06 02:37:17 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-06-06 02:37:17 +0000
commitd97d46e2806969c994647ee8e3ce64b4f3d1d9f6 (patch)
treea130ac9ea2144b6e2fd40dc56edb24558f54e566 /externals/grill/xsample/source/main.cpp
parent1b3a9c2ac678727df211d5de8bd032bc2cf1ac4b (diff)
""
svn path=/trunk/; revision=684
Diffstat (limited to 'externals/grill/xsample/source/main.cpp')
-rw-r--r--externals/grill/xsample/source/main.cpp51
1 files changed, 0 insertions, 51 deletions
diff --git a/externals/grill/xsample/source/main.cpp b/externals/grill/xsample/source/main.cpp
index 1a44a866..5149ea05 100644
--- a/externals/grill/xsample/source/main.cpp
+++ b/externals/grill/xsample/source/main.cpp
@@ -222,54 +222,3 @@ V xsample::m_dsp(I /*n*/,S *const * /*insigs*/,S *const * /*outsigs*/)
if(!m_refresh()) s_dsp();
}
-
-/*
-V xsample::arrscale(I n,const S *src,S *dst,S add,S mul)
-{
-#if 1
- flext::ScaleSamples(dst,src,mul,add*mul,n);
-#else
- int n8 = n>>3;
- n -= n8<<3;
- while(n8--) {
- dst[0] = (src[0]+add)*mul;
- dst[1] = (src[1]+add)*mul;
- dst[2] = (src[2]+add)*mul;
- dst[3] = (src[3]+add)*mul;
- dst[4] = (src[4]+add)*mul;
- dst[5] = (src[5]+add)*mul;
- dst[6] = (src[6]+add)*mul;
- dst[7] = (src[7]+add)*mul;
- src += 8,dst += 8;
- }
-
- while(n--) *(dst++) = (*(src++)+add)*mul;
-#endif
-}
-
-V xsample::arrmul(I n,const S *src,S *dst,S mul)
-{
-#if 1
- flext::MulSamples(dst,src,mul,n);
-#else
- int n8 = n>>3;
- n -= n8<<3;
- while(n8--) {
- dst[0] = src[0]*mul;
- dst[1] = src[1]*mul;
- dst[2] = src[2]*mul;
- dst[3] = src[3]*mul;
- dst[4] = src[4]*mul;
- dst[5] = src[5]*mul;
- dst[6] = src[6]*mul;
- dst[7] = src[7]*mul;
- src += 8,dst += 8;
- }
-
- while(n--) *(dst++) = *(src++)*mul;
-#endif
-}
-*/
-
-
-