diff --git a/cmOp.c b/cmOp.c deleted file mode 100644 index a22ae65..0000000 --- a/cmOp.c +++ /dev/null @@ -1,83 +0,0 @@ -#include "cmPrefix.h" -#include "cmGlobal.h" -#include "cmFloatTypes.h" -#include "cmOp.h" - -void vs_Zero( cmSample_t v[], unsigned vn) -{ memset(v,0,sizeof(v[0])*vn); } - - -cmReal_t vs_Sine( cmSample_t v[], unsigned vn, cmReal_t hzRad, cmReal_t initPhs ) -{ - const cmSample_t* ep = v + vn; - double phs = initPhs; - - while(v=yn || x0>=yn) - break; - - *v++ = y[x0] + (y[x1] - y[x0]) * d; - } - - return i; -} -*/ diff --git a/cmOp.h b/cmOp.h deleted file mode 100644 index c2aa8c7..0000000 --- a/cmOp.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef cmOp_h -#define cmOp_h - -#ifdef __cplusplus -extern "C" { -#endif - - void vs_Zero( cmSample_t v[], unsigned vn); - cmReal_t vs_Sine( cmSample_t v[], unsigned vn, cmReal_t hzRad, cmReal_t initPhs ); - void vs_Rand( cmSample_t v[], unsigned vn, cmSample_t min, cmSample_t max ); - - void vs_Copy( cmSample_t d[], const cmSample_t s[], unsigned n ); - - cmSample_t vs_SquaredSum( const cmSample_t s[], unsigned n ); - - // d[] = s[] * mult; - void vs_MultVVS( cmSample_t d[], const cmSample_t s[], unsigned n, cmReal_t mult ); - - //d[] += s[] * mult - void vs_SumMultVVS(cmSample_t d[], const cmSample_t s[], unsigned n, cmReal_t mult ); - - // Interpolate the values of y[yn] at the points defined by x[vn] and store the result in v[vn]. - // User linear interpolation. - //void vs_Interp2( cmSample_t v[], unsigned vn, const cmSample_t[] x, const cmSample_t y[], unsigned yn ); - -#ifdef __cplusplus -} -#endif - -#endif