From 85e4bd0d18fb8cb53e45c9b8205a6a1ffcee552b Mon Sep 17 00:00:00 2001 From: kpl Date: Mon, 26 Nov 2012 23:14:28 -0800 Subject: [PATCH] Deleted cmOp.h/c --- cmOp.c | 83 ---------------------------------------------------------- cmOp.h | 30 --------------------- 2 files changed, 113 deletions(-) delete mode 100644 cmOp.c delete mode 100644 cmOp.h 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